forked from kiss-community/kiss
kiss-size: clean up
This commit is contained in:
parent
84339a279a
commit
67ccf37ac6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user