Skip to content

Commit

Permalink
fix: invalid var name { nodejs.console.use.terminal => NODEJS_CONSOLE…
Browse files Browse the repository at this point in the history
…_USE_TERMINAL }
  • Loading branch information
bluelovers committed Aug 23, 2020
1 parent a4b8216 commit be218a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/plugin/tsnode/lib/cmd/NodeJSCommandLine.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ object MyNodeCommandLineUtil
/**
* allow set env var nodejs.console.use.terminal=true/false for enable or disable
*/
val v = runConfig.runSettings.envData.envs.get("nodejs.console.use.terminal")
val v = runConfig.runSettings.envData.envs.get("NODEJS_CONSOLE_USE_TERMINAL")

if (!v.isNullOrEmpty() && !v.isBlank())
{
usePtyWithTerminalConsole = v.toBoolean()
usePtyWithTerminalConsole = v.toString().toBoolean()
}
}

Expand Down

0 comments on commit be218a7

Please sign in to comment.