Fix the tests for the fix on save feature
This commit is contained in:
@@ -40,7 +40,11 @@ function! ale#fix#ApplyQueuedFixes() abort
|
||||
endif
|
||||
|
||||
if l:data.should_save
|
||||
noautocmd :w!
|
||||
if empty(&buftype)
|
||||
noautocmd :w!
|
||||
else
|
||||
set nomodified
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user