Commit 0d343ec
authored
fix: prefer stdout (#157)
## Description
Prefer stdout over stderr to cover cases when there are only warnings.
If only error is present and no stdout is returned then the error will
be returned instead.
**Related issue (if any):** fixes #154
## Checklist
- [x] I have followed this repository's contributing guidelines.
- [x] I will adhere to the project's code of conduct.
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>1 parent 8a8a643 commit 0d343ec
2 files changed
Lines changed: 6 additions & 5 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | 168 | | |
170 | | - | |
171 | | - | |
172 | | - | |
| 169 | + | |
| 170 | + | |
173 | 171 | | |
174 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
0 commit comments