refactor: capture output by default

This is almost certainly the correct default for Dokku. While it's a BC break and might cause an increase in memory usage, the api is mostly internal and therefore this is safe to use.
This commit is contained in:
Jose Diaz-Gonzalez committed 2024-02-12 20:28:31 -05:00
1 parent 047a3c00f5
commit 3c6cc68086
27 files changed
+75 -107

No files matched your search

+2 -3
View File
@@ -103,9 +103,8 @@ func TriggerCorePostExtract(appName string, sourceWorkDir string) error {
}
result, err := common.CallExecCommand(common.ExecCommandInput{
Command: "procfile-util",
Args: []string{"check", "-P", processSpecificProcfile},
CaptureOutput: true,
Command: "procfile-util",
Args: []string{"check", "-P", processSpecificProcfile},
})
if err != nil {
return fmt.Errorf(result.StderrContents())