Remove neutral exit code references

This commit is contained in:
Danny McCormick
2019-08-06 09:12:30 -04:00
parent da76d1fd39
commit 3004de4b40
2 changed files with 3 additions and 20 deletions

View File

@@ -22,12 +22,7 @@ export enum ExitCode {
/**
* A code indicating that the action was a failure
*/
Failure = 1,
/**
* A code indicating that the action is complete, but neither succeeded nor failed
*/
Neutral = 78
Failure = 1
}
//-----------------------------------------------------------------------
@@ -94,13 +89,6 @@ export function setOutput(name: string, value: string): void {
// Results
//-----------------------------------------------------------------------
/**
* Sets the action status to neutral
*/
export function setNeutral(): void {
process.exitCode = ExitCode.Neutral
}
/**
* Sets the action status to failed.
* When the action exits it will be with an exit code of 1