summaryrefslogtreecommitdiff
path: root/test/fixers/test_eslint_fixer_callback.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-31 13:12:24 +0100
committerw0rp <devw0rp@gmail.com>2017-08-31 13:12:24 +0100
commit7c2a5052a850a6e7df10c2b4f84fd5b343175d8d (patch)
tree97225111667373635892128784b34cd854379cdd /test/fixers/test_eslint_fixer_callback.vader
parent1d86a724f2f54212d1230fcb2195220f5b3727f9 (diff)
downloadale-7c2a5052a850a6e7df10c2b4f84fd5b343175d8d.zip
Fix #895 - Run Node.js scripts with node.exe instead of node on Windows
Diffstat (limited to 'test/fixers/test_eslint_fixer_callback.vader')
-rw-r--r--test/fixers/test_eslint_fixer_callback.vader2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixers/test_eslint_fixer_callback.vader b/test/fixers/test_eslint_fixer_callback.vader
index 58f75611..218461db 100644
--- a/test/fixers/test_eslint_fixer_callback.vader
+++ b/test/fixers/test_eslint_fixer_callback.vader
@@ -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',