1
0
mirror of https://github.com/gitattributes/gitattributes.git synced 2025-01-22 00:08:52 -05:00

chore(check.sh): fix unset

This commit is contained in:
Carlo Corradini 2023-08-22 16:48:24 +02:00 committed by GitHub
parent aecaa69e90
commit f9647ec2a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,7 +157,7 @@ EOF
# @param $1 Argument name
# @param $2 Argument value
_parse_args_assert_value() {
[ -n "$2" ] || ERROR "Argument '$1' requires a non-empty value"
[ -n "${2+x}" ] || ERROR "Argument '$1' requires a non-empty value"
}
# Parse command line arguments