mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-04 09:03:16 +08:00
Add lots of linting
This commit is contained in:
@@ -24,20 +24,20 @@ export enum ExitCode {
|
||||
/**
|
||||
* Exit the action as a success.
|
||||
*/
|
||||
export function success() {
|
||||
export function success(): void {
|
||||
process.exit(ExitCode.Success)
|
||||
}
|
||||
|
||||
/**
|
||||
* Exit the action as a failure.
|
||||
*/
|
||||
export function failure() {
|
||||
export function failure(): void {
|
||||
process.exit(ExitCode.Failure)
|
||||
}
|
||||
|
||||
/**
|
||||
* Exit the action neither a success or a failure
|
||||
*/
|
||||
export function neutral() {
|
||||
export function neutral(): void {
|
||||
process.exit(ExitCode.Neutral)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user