Merge pull request #1221 from JelteF/patch-1

Fix erb linter for puppet style erb templates
This commit is contained in:
w0rp authored and GitHub committed 2017-12-19 14:09:00 +00:00
commit a7d51afda5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ function! ale_linters#eruby#erb#GetCommand(buffer) abort
let l:rails_root = ale#ruby#FindRailsRoot(a:buffer)
if empty(l:rails_root)
return 'erb -P -x %t | ruby -c'
return 'erb -P -T - -x %t | ruby -c'
endif
" Rails-flavored eRuby does not comply with the standard as understood by