File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ func Fatal(errorMsg string, exitCode ExitCode) {
179
179
Error string `json:"error"`
180
180
Output * OutputStreamsResult `json:"output,omitempty"`
181
181
}
182
- res := FatalError {
182
+ res := & FatalError {
183
183
Error : errorMsg ,
184
184
}
185
185
if output := getOutputStreamResult (); ! output .Empty () {
@@ -188,11 +188,11 @@ func Fatal(errorMsg string, exitCode ExitCode) {
188
188
var d []byte
189
189
switch format {
190
190
case JSON :
191
- d , _ = json .MarshalIndent (res , "" , " " )
191
+ d , _ = json .MarshalIndent (augment ( res ) , "" , " " )
192
192
case MinifiedJSON :
193
- d , _ = json .Marshal (res )
193
+ d , _ = json .Marshal (augment ( res ) )
194
194
case YAML :
195
- d , _ = yaml .Marshal (res )
195
+ d , _ = yaml .Marshal (augment ( res ) )
196
196
default :
197
197
panic ("unknown output format" )
198
198
}
You can’t perform that action at this time.
0 commit comments