Skip to content

Commit 2078aa4

Browse files
committed
fix shellcheck
1 parent 8899d7c commit 2078aa4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/custom-script-header/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ examples:
5252
5353
some_condition=true
5454
55-
if [[ some_condition ]]; then
55+
if [ "$some_condition" = true ]; then
5656
echo "Some condition was met, aborting"
5757
exit
5858
fi
5959
60+
6061
```
6162

6263

examples/custom-script-header/src/header.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
some_condition=true
88

9-
if [[ some_condition ]]; then
9+
if [ "$some_condition" = true ]; then
1010
echo "Some condition was met, aborting"
1111
exit
1212
fi

0 commit comments

Comments
 (0)