-
-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
We're testing if a PR has a readme change if the commit is a breaking change; for checking if the commit is a breaking change we use cog verify $commit 2>&1 | grep 'BREAKING CHANGE', which looks fine at first sight, but the 2>&1 is making it silently fail because the command not found: cog message is swallowed
To Reproduce
PATH= cog verify "feat: feature" 2>&1 | grep feature "incorrectly" fails because the cog command can't be found.
Expected behavior
Normal output should be on stdout.
Additional context
If the log would've contained command not found: cog we would've seen this immediately instead of debugging for ~30 minutes.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working