Fix linting

This commit is contained in:
David Verdeguer
2022-09-07 22:45:34 +02:00
parent a03f3bd585
commit 063e083705
3 changed files with 3 additions and 3 deletions

View File

@@ -785,4 +785,4 @@ test("workflowEventName()", async (t) => {
process.env["CODESCANNING_EVENT_NAME"] = "push";
t.deepEqual(actionsutil.workflowEventName(), "push");
});
});

View File

@@ -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"];
}