mirror of
https://github.com/github/codeql-action.git
synced 2026-01-05 14:10:11 +08:00
Fix linting
This commit is contained in:
@@ -785,4 +785,4 @@ test("workflowEventName()", async (t) => {
|
||||
|
||||
process.env["CODESCANNING_EVENT_NAME"] = "push";
|
||||
t.deepEqual(actionsutil.workflowEventName(), "push");
|
||||
});
|
||||
});
|
||||
|
||||
@@ -828,7 +828,7 @@ export function workflowEventName() {
|
||||
if (value === undefined || value.length === 0) {
|
||||
return process.env["GITHUB_EVENT_NAME"];
|
||||
}
|
||||
return value
|
||||
return value;
|
||||
}
|
||||
return process.env["GITHUB_EVENT_NAME"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user