-
-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add default values for boolean option and use
=
to test them (#…
…131) * fix: add default values for boolean option and use `=` to test them Use [[ $option = 'true' ]] instead of [[ -n $option ]] to check enabled option. [[ -n $option ]] will return true if the string is not empty even if we set `option=false`, because bash treats `false` as a non-empty string. * chore: remove superfluous info --------- Co-authored-by: Cheng XU <[email protected]>
- Loading branch information
Showing
2 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters