Fix #895 - Run Node.js scripts with node.exe instead of node on Windows

This commit is contained in:
w0rp
2017-08-31 13:12:24 +01:00
parent 1d86a724f2
commit 7c2a5052a8
12 changed files with 48 additions and 52 deletions

View File

@@ -26,7 +26,7 @@ Execute(The eslint fixer with eslint.js should be run with node on Windows):
AssertEqual
\ {
\ 'read_temporary_file': 1,
\ 'command': 'node '
\ 'command': ale#Escape('node.exe') . ' '
\ . ale#Escape(simplify(g:dir . '/../eslint-test-files/react-app/node_modules/eslint/bin/eslint.js'))
\ . ' --config ' . ale#Escape(simplify(g:dir . '/../eslint-test-files/react-app/.eslintrc.js'))
\ . ' --fix %t',