mirror of
https://github.com/github/codeql-action.git
synced 2026-05-04 12:50:14 +00:00
TEST: eslint errors
This commit is contained in:
Generated
+3
@@ -67,6 +67,9 @@ var JobStatus;
|
||||
JobStatus["FailureStatus"] = "JOB_STATUS_FAILURE";
|
||||
JobStatus["ConfigErrorStatus"] = "JOB_STATUS_CONFIGURATION_ERROR";
|
||||
})(JobStatus || (exports.JobStatus = JobStatus = {}));
|
||||
const unused = 0;
|
||||
const unused2 = 0;
|
||||
const unused3 = 0;
|
||||
function getActionsStatus(error, otherFailureCause) {
|
||||
if (error || otherFailureCause) {
|
||||
return error instanceof util_1.ConfigurationError ? "user-error" : "failure";
|
||||
|
||||
File diff suppressed because one or more lines are too long
+10
-3
@@ -68,9 +68,16 @@ export enum JobStatus {
|
||||
ConfigErrorStatus = "JOB_STATUS_CONFIGURATION_ERROR",
|
||||
}
|
||||
|
||||
export interface StatusReportBase {
|
||||
/** Name of the action being executed. */
|
||||
action_name: ActionName;
|
||||
const unused = 0;
|
||||
const unused2 = 0;
|
||||
const unused3 = 0;
|
||||
|
||||
export interface StatusReportBase {
|
||||
/** Name of the action being executed.
|
||||
*
|
||||
*
|
||||
*/
|
||||
action_name: ActionName
|
||||
/** Version of the action being executed, as a commit oid. */
|
||||
action_oid: string;
|
||||
/** Version of the action being executed, as a ref. */
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
|
||||
|
||||
/* Additional Checks */
|
||||
"noUnusedLocals": true, /* Report errors on unused locals. */
|
||||
// "noUnusedLocals": true, /* Report errors on unused locals. */
|
||||
"noUnusedParameters": true, /* Report errors on unused parameters. */
|
||||
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
||||
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
||||
|
||||
Reference in New Issue
Block a user