@@ -355,7 +355,6 @@ func runCompileCommand(cmd *cobra.Command, args []string) {
355
355
UpdatedUploadPort : result .NewPort (uploadRes .GetUpdatedUploadPort ()),
356
356
},
357
357
ProfileOut : profileOut ,
358
- Diagnostics : result .NewCompileDiagnostics (builderRes .GetDiagnostics ()),
359
358
Success : compileError == nil ,
360
359
showPropertiesMode : showProperties ,
361
360
hideStats : preprocess ,
@@ -399,14 +398,13 @@ type updatedUploadPortResult struct {
399
398
}
400
399
401
400
type compileResult struct {
402
- CompilerOut string `json:"compiler_out"`
403
- CompilerErr string `json:"compiler_err"`
404
- BuilderResult * result.BuilderResult `json:"builder_result"`
405
- UploadResult updatedUploadPortResult `json:"upload_result"`
406
- Success bool `json:"success"`
407
- ProfileOut string `json:"profile_out,omitempty"`
408
- Error string `json:"error,omitempty"`
409
- Diagnostics []* result.CompileDiagnostic `json:"diagnostics,omitempty"`
401
+ CompilerOut string `json:"compiler_out"`
402
+ CompilerErr string `json:"compiler_err"`
403
+ BuilderResult * result.BuilderResult `json:"builder_result"`
404
+ UploadResult updatedUploadPortResult `json:"upload_result"`
405
+ Success bool `json:"success"`
406
+ ProfileOut string `json:"profile_out,omitempty"`
407
+ Error string `json:"error,omitempty"`
410
408
showPropertiesMode arguments.ShowPropertiesMode
411
409
hideStats bool
412
410
}
0 commit comments