summaryrefslogtreecommitdiff
path: root/ale_linters/perl/perlcritic.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-11 00:31:42 +0100
committerw0rp <devw0rp@gmail.com>2017-08-11 00:31:42 +0100
commitd5ae3201a4128c9e7b1042e9ea40b7f13cf72a10 (patch)
tree86ca55a467b86555aaed7e83e0094a5def357bd1 /ale_linters/perl/perlcritic.vim
parentb1462ac66c10ed323c5148ecd8821c3a433ff403 (diff)
downloadale-d5ae3201a4128c9e7b1042e9ea40b7f13cf72a10.zip
Ban !=# and !=? from the codebase
Diffstat (limited to 'ale_linters/perl/perlcritic.vim')
-rw-r--r--ale_linters/perl/perlcritic.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/perl/perlcritic.vim b/ale_linters/perl/perlcritic.vim
index 6f23048d..df2f8b23 100644
--- a/ale_linters/perl/perlcritic.vim
+++ b/ale_linters/perl/perlcritic.vim
@@ -41,10 +41,10 @@ function! ale_linters#perl#perlcritic#GetCommand(buffer) abort
let l:command = ale#Escape(ale_linters#perl#perlcritic#GetExecutable(a:buffer))
\ . " --verbose '". l:critic_verbosity . "' --nocolor"
- if l:profile !=? ''
+ if l:profile isnot? ''
let l:command .= ' --profile ' . ale#Escape(l:profile)
endif
- if l:options !=? ''
+ if l:options isnot? ''
let l:command .= ' ' . l:options
endif