GrypeDbStatusReader.

AcceptsExitCode(int, string) Method

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.