mirror of
https://github.com/dokku/dokku.git
synced 2025-12-28 16:06:40 +01:00
ensure CHECKS file has trailing newline. closes #2037
This commit is contained in:
@@ -118,6 +118,11 @@ checks_check_deploy() {
|
||||
dokku_log_info1 "Default container check successful!" && exit 0
|
||||
fi
|
||||
|
||||
# ensure CHECKS file has trailing newline
|
||||
if [[ "$(tail -c1 "$FILENAME")" != "" ]]; then
|
||||
echo "" >> "$FILENAME"
|
||||
fi
|
||||
|
||||
# Reads name/value pairs, sets the WAIT and TIMEOUT variables
|
||||
exec < "$FILENAME"
|
||||
local LINE
|
||||
|
||||
@@ -1 +1 @@
|
||||
/ nodejs/express
|
||||
/ nodejs/express
|
||||
Reference in New Issue
Block a user