Skip to content

Commit 56b1ead

Browse files
author
Simon Engledew
committed
Do not show lint failed in the UX if it happens
1 parent b1be00d commit 56b1ead

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/init-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/init-action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async function run() {
9898

9999
const workflowErrors = await actionsUtil.getWorkflowErrors();
100100

101-
if (workflowErrors.length > 0) {
101+
if (workflowErrors.filter(o => o.code !== 'LintFailed').length > 0) {
102102
core.warning(actionsUtil.formatWorkflowErrors(workflowErrors));
103103
}
104104

0 commit comments

Comments
 (0)