You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running (npm|pnpm|yarn) -s betterer ci outputs a "pretty-printed" result, e.g.
\ | / _ _ _
'-.ooo.-' | |__ ___| |_| |_ ___ _ __ ___ _ __
---ooooo--- | '_ \/ _ \ __| __/ _ \ '__/ _ \ '__|
.-'ooo'-. | |_)| __/ |_| || __/ | | __/ |
/ | \ |_.__/\___|\__|\__\___|_| \___|_|
🎉 Betterer: 6 tests done!
✅ Example test #1: "Example test #1" stayed the same. (2 issues) 😐
✅ Example test #2: "Example test #2" stayed the same. (2 issues) 😐
✅ Example test #3 - a longer label: "Example test #3 - a longer label" stayed the same. (9 issues) 😐
✅ Example test #4 - suuuuuuper long label to make a convincing point!: "Example test #4 - suuuuuuper long label to make a convincing point!" stayed the same. (7 issues) 😐
✅ #5: "#5" stayed the same. (2 issues) 😐
✅ This is #6: "This is #6" stayed the same. (3 issues) 😐
6 tests got checked. 🤔
6 tests stayed the same. 😐
but when the standard output is redirected to e.g. a file (i want to use it in CI for external reporting - Slack, PR comments, etc.) the output is different:
\ | / _ _ _
'-.ooo.-' | |__ ___| |_| |_ ___ _ __ ___ _ __
---ooooo--- | '_ \/ _ \ __| __/ _ \ '__/ _ \ '__|
.-'ooo'-. | |_)| __/ |_| || __/ | | __/ |
/ | \ |_.__/\___|\__|\__\___|_| \___|_|
🎉 Betterer: 6 tests done!
✅ Example test #1: "Example test #1" stayed the same. (2 issues) 😐
✅ Example test #2: "Example test #2" stayed the same. (2 issues) 😐
✅ Example test #3 - a longer label: "Example test #3 - a longer label" stayed
the same. (9 issues) 😐
✅ Example test #4 - suuuuuuper long label to make a convincing point!: "Example
test #4 - suuuuuuper long label to make a convincing point!" stayed the same.
(7 issues) 😐
✅ #5: "#5" stayed the same. (2 issues) 😐
✅ This is #6: "This is #6" stayed the same. (3 issues) 😐
6 tests got checked. 🤔
6 tests stayed the same. 😐
the lines are now wrapped which makes the output much less readable
To Reproduce
(npm|pnpm|yarn) -s betterer ci > output.txt
cat output.txt
Expected behavior
The redirected output would match the printed output
Describe the bug
Running
(npm|pnpm|yarn) -s betterer ci
outputs a "pretty-printed" result, e.g.but when the standard output is redirected to e.g. a file (i want to use it in CI for external reporting - Slack, PR comments, etc.) the output is different:
the lines are now wrapped which makes the output much less readable
To Reproduce
Expected behavior
The redirected output would match the printed output
Versions:
OS
Betterer
Node
The text was updated successfully, but these errors were encountered: