Authoring lint: required checks, undeclared outcomes, delivery claims, loop limits, silent guards, boilerplate
This commit is contained in:
@@ -746,6 +746,9 @@ func (a App) Run(ctx context.Context, args []string) error {
|
||||
if o.json {
|
||||
return a.output(r)
|
||||
}
|
||||
for _, warning := range r.Warnings {
|
||||
fmt.Fprintln(a.Err, "warning: "+warning)
|
||||
}
|
||||
if command == "validate" {
|
||||
fmt.Fprintln(a.Out, "Valid draft (server validation). No changes submitted.")
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user