This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Grype.
Summary
Determines whether a non-zero exit code is expected for this command and must not throw.
- Assembly
- Cake
.Grype .dll - Namespace
- Cake
.Grype .Db - Containing Type
- GrypeDbStatusReader
Syntax
protected override bool AcceptsExitCode(int exitCode, string standardOutput)
Parameters
| Name | Type | Description |
|---|---|---|
| exitCode | int | The non-zero exit code. |
| standardOutput | string | The captured standard output, or null if it was not redirected. |
Return Value
| Type | Description |
|---|---|
| bool | true to accept the exit code. |
