rename DokkuCmd to ShellCmd and use strings.Join instead of fmt.Sprintf

This commit is contained in:
Michael Hobbs committed 2017-03-20 09:16:49 -07:00
1 parent 177b45c49b
commit f0efdd2ed4
3 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -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()
}