summaryrefslogtreecommitdiff
path: root/ale_linters/typescript
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-17 23:29:02 +0100
committerw0rp <devw0rp@gmail.com>2017-04-17 23:29:02 +0100
commite237add9fdec64c80ed57f383e2b73464fb4b43d (patch)
treec7a958526e3048c3457359de435fd8ee83ab07b6 /ale_linters/typescript
parent6c762237cea0dd29fc95d3cbbb9787213f581ef3 (diff)
downloadale-e237add9fdec64c80ed57f383e2b73464fb4b43d.zip
Move path functions to their own file
Diffstat (limited to 'ale_linters/typescript')
-rw-r--r--ale_linters/typescript/tslint.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/typescript/tslint.vim b/ale_linters/typescript/tslint.vim
index a77011e5..081ad42b 100644
--- a/ale_linters/typescript/tslint.vim
+++ b/ale_linters/typescript/tslint.vim
@@ -8,7 +8,7 @@ let g:ale_typescript_tslint_config_path =
\ get(g:, 'ale_typescript_tslint_config_path', '')
function! ale_linters#typescript#tslint#GetExecutable(buffer) abort
- return ale#util#ResolveLocalPath(
+ return ale#path#ResolveLocalPath(
\ a:buffer,
\ 'node_modules/.bin/tslint',
\ ale#Var(a:buffer, 'typescript_tslint_executable')
@@ -50,7 +50,7 @@ function! ale_linters#typescript#tslint#Handle(buffer, lines) abort
endfunction
function! ale_linters#typescript#tslint#BuildLintCommand(buffer) abort
- let l:tslint_config_path = ale#util#ResolveLocalPath(
+ let l:tslint_config_path = ale#path#ResolveLocalPath(
\ a:buffer,
\ 'tslint.json',
\ ale#Var(a:buffer, 'typescript_tslint_config_path')