Skip to content

Commit

Permalink
Fixes nimble run on Windows.
Browse files Browse the repository at this point in the history
Cherry picked from 331a337
  • Loading branch information
dom96 committed Sep 22, 2019
1 parent 0ed8e64 commit 4007b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nimblepkg/options.nim
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ proc getCompilationBinary*(options: Options): Option[string] =
if file.len > 0:
return some(file)
of actionRun:
let runFile = options.action.runFile.changeFileExt("")
let runFile = options.action.runFile.changeFileExt(ExeExt)
if runFile.len > 0:
return some(runFile)
else:
Expand Down

0 comments on commit 4007b2a

Please sign in to comment.