mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Fix linting
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -785,4 +785,4 @@ test("workflowEventName()", async (t) => {
|
|||||||
|
|
||||||
process.env["CODESCANNING_EVENT_NAME"] = "push";
|
process.env["CODESCANNING_EVENT_NAME"] = "push";
|
||||||
t.deepEqual(actionsutil.workflowEventName(), "push");
|
t.deepEqual(actionsutil.workflowEventName(), "push");
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -828,7 +828,7 @@ export function workflowEventName() {
|
|||||||
if (value === undefined || value.length === 0) {
|
if (value === undefined || value.length === 0) {
|
||||||
return process.env["GITHUB_EVENT_NAME"];
|
return process.env["GITHUB_EVENT_NAME"];
|
||||||
}
|
}
|
||||||
return value
|
return value;
|
||||||
}
|
}
|
||||||
return process.env["GITHUB_EVENT_NAME"];
|
return process.env["GITHUB_EVENT_NAME"];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user