Merge pull request #752 from elebow/brakeman-cleanup-unused-cache-var

Brakeman: Remove unused cache var from tests
This commit is contained in:
w0rp 2017-07-11 11:36:50 +01:00 committed by GitHub
commit 05d3bb12dd
2 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,7 @@ function! s:EchoWithShortMess(setting, message) abort
" Turn shortmess on or off.
if a:setting ==# 'on'
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.
exec "norm! :echomsg a:message\n"
elseif a:setting ==# 'off'

View File

@ -5,7 +5,6 @@ Before:
cd ../ruby_fixtures/valid_rails_app/app/models
runtime ale_linters/ruby/brakeman.vim
call setbufvar(0, 'ruby_brakeman_rails_root_cached', '')
After:
" Switch back to whatever directory it was that we started on.