From e237add9fdec64c80ed57f383e2b73464fb4b43d Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 17 Apr 2017 23:29:02 +0100 Subject: Move path functions to their own file --- ale_linters/javascript/eslint.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ale_linters/javascript/eslint.vim') diff --git a/ale_linters/javascript/eslint.vim b/ale_linters/javascript/eslint.vim index 2a65e301..459e4e5d 100644 --- a/ale_linters/javascript/eslint.vim +++ b/ale_linters/javascript/eslint.vim @@ -16,7 +16,7 @@ function! ale_linters#javascript#eslint#GetExecutable(buffer) abort endif " Look for the kinds of paths that create-react-app generates first. - let l:executable = ale#util#ResolveLocalPath( + let l:executable = ale#path#ResolveLocalPath( \ a:buffer, \ 'node_modules/eslint/bin/eslint.js', \ '' @@ -26,7 +26,7 @@ function! ale_linters#javascript#eslint#GetExecutable(buffer) abort return l:executable endif - return ale#util#ResolveLocalPath( + return ale#path#ResolveLocalPath( \ a:buffer, \ 'node_modules/.bin/eslint', \ ale#Var(a:buffer, 'javascript_eslint_executable') -- cgit v1.2.3