fixes a strange issue most likely caused by a git merge (#20822)
This commit is contained in:
parent
c75e6f3583
commit
852cf596ed
1 changed files with 2 additions and 4 deletions
|
|
@ -181,15 +181,13 @@ proc setupVM*(module: PSym; cache: IdentCache; scriptName: string;
|
|||
options.cppDefine(conf, a.getString(0))
|
||||
cbexc stdinReadLine, EOFError:
|
||||
if defined(nimsuggest) or graph.config.cmd == cmdCheck:
|
||||
discard
|
||||
else:
|
||||
setResult(a, "")
|
||||
else:
|
||||
setResult(a, stdin.readLine())
|
||||
cbexc stdinReadAll, EOFError:
|
||||
if defined(nimsuggest) or graph.config.cmd == cmdCheck:
|
||||
discard
|
||||
else:
|
||||
setResult(a, "")
|
||||
else:
|
||||
setResult(a, stdin.readAll())
|
||||
|
||||
proc runNimScript*(cache: IdentCache; scriptName: AbsoluteFile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue