mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-23 20:41:29 +08:00
Fix #895 - Run Node.js scripts with node.exe instead of node on Windows
This commit is contained in:
@@ -67,7 +67,7 @@ Execute(.js files should be executed with node on Windows):
|
||||
\ ale_linters#javascript#standard#GetExecutable(bufnr(''))
|
||||
|
||||
AssertEqual
|
||||
\ 'node ' . ale#Escape(b:executable) . ' --stdin %s',
|
||||
\ ale#Escape('node.exe') . ' ' . ale#Escape(b:executable) . ' --stdin %s',
|
||||
\ ale_linters#javascript#standard#GetCommand(bufnr(''))
|
||||
|
||||
Execute(The global executable should be used otherwise):
|
||||
|
||||
Reference in New Issue
Block a user