protected virtual ICommandOutput ToOutput(PackageOperationResult packageOperationResult) { var output = packageOperationResult.ToOutput(); // this.Successful = this.Successful && (output.Type != CommandResultType.Info || output.Type == CommandResultType.Data || output.Type == CommandResultType.Verbose); this.Successful = this.Successful && (output.Type != CommandResultType.Error); return output; }
protected virtual ICommandOutput ToOutput(PackageOperationResult packageOperationResult) { var output = packageOperationResult.ToOutput(); Successful = Successful && (output.Type != CommandResultType.Error); return output; }