Merge pull request #1221 from JelteF/patch-1

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

View File

@@ -10,7 +10,7 @@ Execute(Executable should not contain any filter code by default):
call ale#test#SetFilename('../ruby_fixtures/not_a_rails_app/file.rb')
AssertEqual
\ 'erb -P -x %t | ruby -c',
\ 'erb -P -T - -x %t | ruby -c',
\ ale_linters#eruby#erb#GetCommand(bufnr(''))
Execute(Executable should filter invalid eRuby when inside a Rails project):