Skip to content

Commit

Permalink
lint: Make ShellCheck happy
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall committed Sep 30, 2023
1 parent abb86ba commit d9056c1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
disable=SC1090
disable=SC1091
disable=SC2034
disable=SC2031
disable=SC2030
disable=SC2178
disable=SC2154
disable=SC2153
disable=SC2154
disable=SC2164
disable=SC2154
disable=SC1007
2 changes: 2 additions & 0 deletions tests/get-value.bats
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ load './util/init.sh'
bobject set-string --ref 'OBJECT' '.obj' str

bobject get-string --value 'OBJECT' '.obj'
# shellcheck disable=SC2128
assert [ "$REPLY" = woof ]

REPLY='meow'

bobject get-string --value 'OBJECT' '.obj'
# shellcheck disable=SC2128
assert [ "$REPLY" = woof ]
}

0 comments on commit d9056c1

Please sign in to comment.