Use native configuration validation and diagnostics
This commit is contained in:
@@ -174,7 +174,7 @@ func restoreCommand(deps commandDependencies) commandkit.Command {
|
||||
if report != nil {
|
||||
err = errors.Join(err, invocation.Reporter().Report(commandkit.Report{Value: report}))
|
||||
}
|
||||
return operationOutcome(err)
|
||||
return reportOperationOutcome(invocation, err)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user