Skip to content

Commit

Permalink
fix linter issue
Browse files Browse the repository at this point in the history
shaikhul committed May 9, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent edb138f commit 699855c
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions lib/workflow.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/workflow.test.js.map
4 changes: 1 addition & 3 deletions src/workflow.test.ts
Original file line number Diff line number Diff line change
@@ -249,9 +249,7 @@ test("formatWorkflowCause() with no errors", (t) => {
});

test("formatWorkflowCause()", (t) => {
const message = formatWorkflowCause([
WorkflowErrors.CheckoutWrongHead,
]);
const message = formatWorkflowCause([WorkflowErrors.CheckoutWrongHead]);

t.deepEqual(message, "CheckoutWrongHead");
t.deepEqual(formatWorkflowCause([]), undefined);

0 comments on commit 699855c

Please sign in to comment.