aboutsummaryrefslogtreecommitdiff
path: root/lua/tasks
diff options
context:
space:
mode:
authorHennadii Chernyshchyk <genaloner@gmail.com>2022-09-28 20:48:45 +0300
committerHennadii Chernyshchyk <genaloner@gmail.com>2022-09-28 20:48:45 +0300
commit752554fceb187ee9f6542a279dbe3b9228f11dbe (patch)
treeab49175bc13f2a64dc72afe392463bf56bdefd86 /lua/tasks
parent0c1838e9bdc0e134319a0e61e8e490c241a62a95 (diff)
downloadneovim-tasks-752554fceb187ee9f6542a279dbe3b9228f11dbe.tar.gz
neovim-tasks-752554fceb187ee9f6542a279dbe3b9228f11dbe.zip
Fix output logic when only stdout or stdin is ignored
Diffstat (limited to 'lua/tasks')
-rw-r--r--lua/tasks/runner.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/tasks/runner.lua b/lua/tasks/runner.lua
index 6a4bf5c..bcd0bfa 100644
--- a/lua/tasks/runner.lua
+++ b/lua/tasks/runner.lua
@@ -134,7 +134,7 @@ function runner.chain_commands(task_name, commands, module_config, addition_args
134 return 134 return
135 end 135 end
136 136
137 local quickfix_output = not command.ignore_stdout and not command.ignore_stderr 137 local quickfix_output = not command.ignore_stdout or not command.ignore_stderr
138 local job = Job:new({ 138 local job = Job:new({
139 command = command.cmd, 139 command = command.cmd,
140 args = args, 140 args = args,