Nimscript: fixes #9246 [backport]

This commit is contained in:
Andreas Rumpf 2018-11-06 21:55:13 +01:00
commit 73c306258b
5 changed files with 6 additions and 2 deletions

View file

@ -123,6 +123,7 @@ proc setupVM*(module: PSym; cache: IdentCache; scriptName: string;
cbconf setCommand:
conf.command = a.getString 0
let arg = a.getString 1
incl(conf.globalOptions, optWasNimscript)
if arg.len > 0:
conf.projectName = arg
let path =