refactor: move get_cmd_from_procfile to ps/functions

Procfile handling should only be performed in the ps plugin
This commit is contained in:
Jose Diaz-Gonzalez
2018-07-29 14:08:14 -04:00
parent afd101034d
commit 0292c4ee3b
5 changed files with 13 additions and 13 deletions

View File

@@ -13,7 +13,6 @@ teardown() {
}
@test "(ps:scale) procfile commands extraction" {
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_CORE_AVAILABLE_PATH/ps/functions"
cat <<EOF > "$DOKKU_ROOT/$TEST_APP/DOKKU_PROCFILE"
web: node web.js --port \$PORT