summaryrefslogtreecommitdiff
path: root/ale_linters/json/spectral.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/json/spectral.vim')
-rw-r--r--ale_linters/json/spectral.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/json/spectral.vim b/ale_linters/json/spectral.vim
index c7d56234..14129c56 100644
--- a/ale_linters/json/spectral.vim
+++ b/ale_linters/json/spectral.vim
@@ -6,7 +6,7 @@ call ale#Set('json_spectral_use_global', get(g:, 'ale_use_global_executables', 0
call ale#linter#Define('json', {
\ 'name': 'spectral',
-\ 'executable': {b -> ale#node#FindExecutable(b, 'json_spectral', [
+\ 'executable': {b -> ale#path#FindExecutable(b, 'json_spectral', [
\ 'node_modules/.bin/spectral',
\ ])},
\ 'command': '%e lint --ignore-unknown-format -q -f text %t',