Merge pull request #492 from nim-lang/araq-hotfix-task-execution
fixes #491
This commit is contained in:
commit
68fb7837e8
2 changed files with 2 additions and 2 deletions
|
|
@ -275,7 +275,7 @@ proc execScript(scriptName: string, flags: Flags, options: Options): PSym =
|
|||
## Executes the specified script. Returns the script's module symbol.
|
||||
##
|
||||
## No clean up is performed and must be done manually!
|
||||
graph = newModuleGraph()
|
||||
graph = newModuleGraph(graph.config)
|
||||
|
||||
let conf = graph.config
|
||||
when declared(NimCompilerApiVersion):
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ proc execNimble(args: varargs[string]): tuple[output: string, exitCode: int] =
|
|||
var quotedArgs = @args
|
||||
quotedArgs.insert(nimblePath)
|
||||
quotedArgs.add("--nimbleDir:" & installDir)
|
||||
quotedArgs = quoted_args.map((x: string) => ("\"" & x & "\""))
|
||||
quotedArgs = quotedArgs.map((x: string) => ("\"" & x & "\""))
|
||||
|
||||
result = execCmdEx(quotedArgs.join(" "))
|
||||
checkpoint(result.output)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue