refactor: standardize on shorthand for redirecting all output to /dev/null
The shorthand is more prevalent in this codebase, and is something that bash supports, so we should just use the same thing everywhere. Note that we do not use shorthand redirect in Makefile as shell parsing is a bit different in Make and the shorthand redirect doesn't seem to be properly supported, causing CI errors.
This commit is contained in:
@@ -344,7 +344,7 @@ setup_test_tls() {
|
||||
local TLS_TYPE="$1"
|
||||
local TLS="/home/dokku/$TEST_APP/tls"
|
||||
|
||||
if ! dokku apps:exists "$TEST_APP" >/dev/null 2>&1; then
|
||||
if ! dokku apps:exists "$TEST_APP" &>/dev/null; then
|
||||
create_app "$TEST_APP"
|
||||
fi
|
||||
mkdir -p "$TLS"
|
||||
|
||||
Reference in New Issue
Block a user