kiss-size: clean up

This commit is contained in:
Dylan Araps 2020-09-09 14:21:44 +03:00
parent 84339a279a
commit 67ccf37ac6
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -16,9 +16,7 @@ get_size() {
}
# Use the current directory as the package name if no package is given.
[ "$1" ] || {
set -- "${PWD##*/}"
}
[ "$1" ] || set -- "${PWD##*/}"
# Ignore shellcheck as we want the warning's behavior.
# shellcheck disable=2015