Skip to content

Commit 8c4fccb

Browse files
committed
msg2=>msg
1 parent ad587aa commit 8c4fccb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/nimdigger.nim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,10 +307,10 @@ proc main2(opt: DiggerOpt) =
307307
if opt.bisectBugfix: bisectStart("BROKEN", "BUGFIX")
308308
else: bisectStart("WORKS", "REGRESSION")
309309
let exe = getAppFileName()
310-
var msg2 = opt.bisectCmd
310+
var msg = opt.bisectCmd
311311
if opt.bisectBugfix:
312-
msg2 = fmt"! ({msg2})" # negate exit code
313-
let bisectCmd2 = fmt"{exe} --compileNim && ( {msg2} )"
312+
msg = fmt"! ({msg})" # negate exit code
313+
let bisectCmd2 = fmt"{exe} --compileNim && ( {msg} )"
314314
runCmd(fmt"git -C {state.nimDir.quoteShell} bisect run bash -c {bisectCmd2.quoteShell}")
315315

316316
proc main(rev = "", nimDir = "", compileNim = false, fetch = false, oldnew = "", bisectBugfix = false, verbose = false, bisectCmd = "", args: seq[string]) =

0 commit comments

Comments
 (0)