refactor: move herokuish app cache from the filesystem into a docker volume
This simplifies cache referencing and also paves the way for removing more from the app git directory. Refs #1558
This commit is contained in:
@@ -18,6 +18,7 @@ type ShellCmd struct {
|
||||
CommandString string
|
||||
Args []string
|
||||
ShowOutput bool
|
||||
ExitError *exec.ExitError
|
||||
}
|
||||
|
||||
// NewShellCmd returns a new ShellCmd struct
|
||||
@@ -57,6 +58,10 @@ func (sc *ShellCmd) Execute() bool {
|
||||
sc.setup()
|
||||
|
||||
if err := sc.Command.Run(); err != nil {
|
||||
exitError, ok := err.(*exec.ExitError)
|
||||
if ok {
|
||||
sc.ExitError = exitError
|
||||
}
|
||||
return false
|
||||
}
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user