diff options
| author | Jeff Carr <[email protected]> | 2024-01-25 13:09:33 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-25 13:09:33 -0600 |
| commit | c488fcaf6cc92beb73f47fb2381602d2102e6b1f (patch) | |
| tree | 34a39848ea9eb3e53db73a944430d6b8909799be /globalBuildOptions.go | |
| parent | fba99bb2f53c7f754f196b19f16fd284a4ead062 (diff) | |
add download buttons to the go.wit.com/list window
Signed-off-by: Jeff Carr <[email protected]>
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) |
