Move path functions to their own file

This commit is contained in:
w0rp
2017-04-17 23:29:02 +01:00
parent 6c762237ce
commit e237add9fd
26 changed files with 90 additions and 89 deletions

View File

@@ -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')