Fixes nimble run on Windows.

Cherry picked from 331a33711d
This commit is contained in:
Dominik Picheta 2019-09-23 00:09:26 +01:00
commit 4007b2a778

View file

@ -520,7 +520,7 @@ proc getCompilationBinary*(options: Options): Option[string] =
if file.len > 0: if file.len > 0:
return some(file) return some(file)
of actionRun: of actionRun:
let runFile = options.action.runFile.changeFileExt("") let runFile = options.action.runFile.changeFileExt(ExeExt)
if runFile.len > 0: if runFile.len > 0:
return some(runFile) return some(runFile)
else: else: