Skip to content

Commit

Permalink
Fixed SC2244: Prefer explicit -n to check non-empty string.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdulcet authored and JoshData committed Apr 3, 2024
1 parent ec497ef commit c7faccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/questions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ if [ -z "${PUBLIC_IPV6:-}" ]; then
"${DEFAULT_PUBLIC_IPV6:-}" \
PUBLIC_IPV6

if [ ! "$PUBLIC_IPV6_EXITCODE" ]; then
if [ ! -n "$PUBLIC_IPV6_EXITCODE" ]; then
# user hit ESC/cancel
exit
fi
Expand Down

0 comments on commit c7faccf

Please sign in to comment.