Commit 7584cae
committed
fix(cube-cli): don't report an unlistable validation failure twice
The empty-errors path printed a stderr line and then a bail! saying the same
thing, unlike the error-list case where the stderr line heads a list. Keeping
only the bail! leaves one line, and it's the more informative one — it says
the API reported a failure without compilation errors, which is what points
the operator at the runtime rather than the model.1 parent a721ee6 commit 7584cae
1 file changed
Lines changed: 5 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 109 | + | |
118 | 110 | | |
119 | 111 | | |
120 | 112 | | |
| |||
127 | 119 | | |
128 | 120 | | |
129 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
130 | 126 | | |
131 | 127 | | |
132 | 128 | | |
| |||
0 commit comments