fix: revert guard and pass app arg to config_export

This commit is contained in:
Jose Diaz-Gonzalez
2017-12-13 15:46:53 -05:00
committed by GitHub
parent 52d6143d97
commit 5522cf63f7

View File

@@ -26,8 +26,8 @@ config_export() {
config_all() {
declare desc="Backwards compatible function for plugin use"
if [[ -n "$DOKKU_CONFIG_EXPORT" ]]; then
config_export "$@"
if [[ -z "$DOKKU_CONFIG_EXPORT" ]]; then
config_export app "$@"
return 0
fi