We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Replace "&& exit 1" by "! command || exit 1"
Updated SC2251 (markdown)
The example should exit if the command succeeds. The "Correct code" didn't do that.
Created SC2251 (markdown)