Merge pull request #752 from elebow/brakeman-cleanup-unused-cache-var
Brakeman: Remove unused cache var from tests
This commit is contained in:
commit
05d3bb12dd
@ -24,7 +24,7 @@ function! s:EchoWithShortMess(setting, message) abort
|
|||||||
" Turn shortmess on or off.
|
" Turn shortmess on or off.
|
||||||
if a:setting ==# 'on'
|
if a:setting ==# 'on'
|
||||||
setlocal shortmess+=T
|
setlocal shortmess+=T
|
||||||
" echomsg is neede for the message to get truncated and appear in
|
" echomsg is needed for the message to get truncated and appear in
|
||||||
" the message history.
|
" the message history.
|
||||||
exec "norm! :echomsg a:message\n"
|
exec "norm! :echomsg a:message\n"
|
||||||
elseif a:setting ==# 'off'
|
elseif a:setting ==# 'off'
|
||||||
|
@ -5,7 +5,6 @@ Before:
|
|||||||
cd ../ruby_fixtures/valid_rails_app/app/models
|
cd ../ruby_fixtures/valid_rails_app/app/models
|
||||||
|
|
||||||
runtime ale_linters/ruby/brakeman.vim
|
runtime ale_linters/ruby/brakeman.vim
|
||||||
call setbufvar(0, 'ruby_brakeman_rails_root_cached', '')
|
|
||||||
|
|
||||||
After:
|
After:
|
||||||
" Switch back to whatever directory it was that we started on.
|
" Switch back to whatever directory it was that we started on.
|
||||||
|
Loading…
Reference in New Issue
Block a user