diff options
Diffstat (limited to 'globalBuildOptions.go')
| -rw-r--r-- | globalBuildOptions.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/globalBuildOptions.go b/globalBuildOptions.go index b9da67c..ccf6b0b 100644 --- a/globalBuildOptions.go +++ b/globalBuildOptions.go @@ -29,9 +29,12 @@ func quickCmd(fullpath string, cmd []string) bool { if me.autoWorkingPwd.String() != fullpath { me.autoWorkingPwd.SetValue(fullpath) } - log.Warn("RUN:", fullpath, cmd) + if me.autoDryRun.Checked() { + log.Warn("RUN --dry-run", fullpath, cmd) return false + } else { + log.Warn("RUN:", fullpath, cmd) } err, b, output = repostatus.RunCmd(fullpath, cmd) |
