瀏覽代碼

always emit errors slice

Mohammed Nafees 3 年之前
父節點
當前提交
a519513337
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/types/environment.go

+ 1 - 1
api/types/environment.go

@@ -135,5 +135,5 @@ type ValidatePorterYAMLRequest struct {
 }
 
 type ValidatePorterYAMLResponse struct {
-	Errors []error `json:"errors,omitempty"`
+	Errors []error `json:"errors"`
 }