summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-04-10 19:44:57 +0100
committerw0rp <devw0rp@gmail.com>2019-04-10 19:44:57 +0100
commit2ef3f9806c93ac7f171d3045d8787f8e5b8908e7 (patch)
tree6261c5a24fb6cfa3b32342d492b0856b9d8f0758 /ale_linters
parent2e8c8085a6b98261883a88edc849e4f1a9432fc8 (diff)
downloadale-2ef3f9806c93ac7f171d3045d8787f8e5b8908e7.zip
#2428 Remove deprecated linter options for psscriptanalyzer
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/powershell/psscriptanalyzer.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/powershell/psscriptanalyzer.vim b/ale_linters/powershell/psscriptanalyzer.vim
index 8d1804f8..8440d771 100644
--- a/ale_linters/powershell/psscriptanalyzer.vim
+++ b/ale_linters/powershell/psscriptanalyzer.vim
@@ -98,8 +98,8 @@ endfunction
call ale#linter#Define('powershell', {
\ 'name': 'psscriptanalyzer',
-\ 'executable_callback': 'ale_linters#powershell#psscriptanalyzer#GetExecutable',
-\ 'command_callback': 'ale_linters#powershell#psscriptanalyzer#GetCommand',
+\ 'executable': function('ale_linters#powershell#psscriptanalyzer#GetExecutable'),
+\ 'command': function('ale_linters#powershell#psscriptanalyzer#GetCommand'),
\ 'output_stream': 'stdout',
\ 'callback': 'ale_linters#powershell#psscriptanalyzer#Handle',
\})