mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-12 16:10:13 +08:00
ale#path#CdString include ale#Escape
This commit is contained in:
1 parent
bc3ccd6e04
commit
f4395f5b8c
20 files changed
+67
-67
No files matched your search
@@ -85,7 +85,7 @@ Execute(The new --stdin-filepath option should be used when the version is new e
|
||||
|
||||
AssertEqual
|
||||
\ {
|
||||
\ 'command': ale#path#CdString(ale#Escape(expand('%:p:h')))
|
||||
\ 'command': ale#path#CdString(expand('%:p:h'))
|
||||
\ . ale#Escape('prettier-eslint')
|
||||
\ . ' --eslint-config-path ' . ale#Escape(ale#path#Simplify(g:dir . '/eslint-test-files/react-app/.eslintrc.js'))
|
||||
\ . ' --stdin-filepath %s --stdin',
|
||||
@@ -106,7 +106,7 @@ Execute(The version number should be cached):
|
||||
" The newer command should be used.
|
||||
AssertEqual
|
||||
\ {
|
||||
\ 'command': ale#path#CdString(ale#Escape(expand('%:p:h')))
|
||||
\ 'command': ale#path#CdString(expand('%:p:h'))
|
||||
\ . ale#Escape('prettier-eslint')
|
||||
\ . ' --stdin-filepath %s --stdin',
|
||||
\ },
|
||||
|
||||
Reference in new issue
Block a user