rename DokkuCmd to ShellCmd and use strings.Join instead of fmt.Sprintf
This commit is contained in:
1 parent
177b45c49b
commit
f0efdd2ed4
3 files changed
+9
-9
No files matched your search
@@ -23,7 +23,7 @@ func main() {
|
||||
cmdEnv := map[string]string{
|
||||
"GIT_DIR": appRoot,
|
||||
}
|
||||
gitGcCmd := common.NewDokkuCmd("git gc --aggressive")
|
||||
gitGcCmd := common.NewShellCmd("git gc --aggressive")
|
||||
gitGcCmd.Env = cmdEnv
|
||||
gitGcCmd.Execute()
|
||||
}
|
||||
Reference in new issue
Block a user