tests: fix SC2145 issue

This commit is contained in:
Jose Diaz-Gonzalez committed 2021-02-13 02:31:24 -05:00
1 parent 59c45ea1d6
commit d4e832c27b
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -148,14 +148,14 @@ dokku_log_exit() {
dokku_log_fail_quiet() { dokku_log_fail_quiet() {
declare desc="log fail formatter" declare desc="log fail formatter"
if [[ -z "$DOKKU_QUIET_OUTPUT" ]]; then if [[ -z "$DOKKU_QUIET_OUTPUT" ]]; then
echo " ! $@" 1>&2 echo " ! $*" 1>&2
fi fi
exit 1 exit 1
} }
dokku_log_fail() { dokku_log_fail() {
declare desc="log fail formatter" declare desc="log fail formatter"
echo " ! $@" 1>&2 echo " ! $*" 1>&2
exit 1 exit 1
} }
+1 -1
View File
@@ -2,7 +2,7 @@
set -o pipefail set -o pipefail
if [[ "$1" == touch* ]]; then if [[ "$1" == touch* ]]; then
echo "entrypoint script started with arguments $@" echo "entrypoint script started with arguments $*"
touch "$(echo $@ | awk '{print $2}')" touch "$(echo $@ | awk '{print $2}')"
else else
exec "$@" exec "$@"