From 4007b2a778429a978e12307bf13a038029b4c4d9 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Mon, 23 Sep 2019 00:09:26 +0100 Subject: [PATCH] Fixes `nimble run` on Windows. Cherry picked from https://github.com/nim-lang/nimble/commit/331a33711dc0610a426941e441e6d4630e023371 --- src/nimblepkg/options.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nimblepkg/options.nim b/src/nimblepkg/options.nim index a162a0fb..bf050fef 100644 --- a/src/nimblepkg/options.nim +++ b/src/nimblepkg/options.nim @@ -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: