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/flow.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ale_linters/javascript/flow.vim') diff --git a/ale_linters/javascript/flow.vim b/ale_linters/javascript/flow.vim index 90d6f420..24c7bca5 100644 --- a/ale_linters/javascript/flow.vim +++ b/ale_linters/javascript/flow.vim @@ -12,7 +12,7 @@ function! ale_linters#javascript#flow#GetExecutable(buffer) abort return ale#Var(a:buffer, 'javascript_flow_executable') endif - return ale#util#ResolveLocalPath( + return ale#path#ResolveLocalPath( \ a:buffer, \ 'node_modules/.bin/flow', \ ale#Var(a:buffer, 'javascript_flow_executable') @@ -20,7 +20,7 @@ function! ale_linters#javascript#flow#GetExecutable(buffer) abort endfunction function! ale_linters#javascript#flow#GetCommand(buffer) abort - let l:flow_config = ale#util#FindNearestFile(a:buffer, '.flowconfig') + let l:flow_config = ale#path#FindNearestFile(a:buffer, '.flowconfig') if empty(l:flow_config) " Don't run Flow if we can't find a .flowconfig file. -- cgit v1.2.3