mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-15 00:37:07 +08:00
Merge pull request #2012 from paihu/fix-cdstring-win32-change-drive
Fix #2011 MS Windows, lint error when current drive and target file drive is different.
This commit is contained in:
@@ -2,7 +2,7 @@ Before:
|
||||
call ale#assert#SetUpLinterTest('sh', 'shellcheck')
|
||||
call ale#test#SetFilename('test.sh')
|
||||
|
||||
let b:prefix = 'cd ' . ale#Escape(ale#path#Simplify(g:dir)) . ' && '
|
||||
let b:prefix = ale#path#CdString(ale#path#Simplify(g:dir))
|
||||
let b:suffix = ' -f gcc -'
|
||||
|
||||
After:
|
||||
|
||||
Reference in New Issue
Block a user