Why is my Ouput window opening?
Closed this issue · 1 comments
nshoes commented
Here are my commands:
{
"match": ".*\\.ex*",
"command": "mix format ${file}",
"runIn": "backend",
"runningStatusMessage": "formatting ${fileBasename}",
"finishStatusMessage": "${fileBasename} formatted"
},
{
"match": ".*\\.ex*",
"command": "mix credo ${file}",
"runIn": "backend",
"runningStatusMessage": "linting ${fileBasename}",
"finishStatusMessage": "${fileBasename} linted"
}
Every time mix credo
is ran, my Output window pops open; it's really annoying. How can I debug this? I don't see a setting for vscode-run-on-save that disables Output from opening. It may be something with credo
as well, still looking into it. Thoughts?
nshoes commented
And of course I solve this a minute after opening an issue 😆 credo
exits with a 0
status by default, which is why the Output flies open. Changing the command to mix credo ${file} --mute-exit-status
solves the issue.