feat: suppress the output of createApp

A git push requires that the first four bytes should be the line length, so not suppressing the output results in a partially failed deploy.

https://stackoverflow.com/a/8175315/1515875
This commit is contained in:
Jose Diaz-Gonzalez
2020-03-10 23:06:00 -04:00
parent 62a361cbe0
commit 7fa9b72144
2 changed files with 24 additions and 1 deletions

View File

@@ -155,5 +155,7 @@ func maybeCreateApp(appName string) error {
return fmt.Errorf("Re-enable app auto-creation or create an app with 'dokku apps:create %s'", appName)
}
return createApp(appName)
return common.SuppressOutput(func() error {
return createApp(appName)
})
}