Skip to content

Commit 5ad3bc0

Browse files
committed
fix heredoc example shellcheck
1 parent 150e8b0 commit 5ad3bc0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/heredoc/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ version: 0.1.0
3333
## `src/root_command.sh`
3434

3535
```bash
36-
echo "$(message1)"
36+
text="$(message1)"
37+
echo "$text"
3738
```
3839

3940
## `src/lib/heredocs.sh`
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
echo "$(message1)"
1+
text="$(message1)"
2+
echo "$text"

0 commit comments

Comments
 (0)