Skip to content

Commit

Permalink
Do not show lint failed in the UX if it happens
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Engledew committed Dec 1, 2020
1 parent b1be00d commit 56b1ead
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/init-action.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/init-action.js.map

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

2 changes: 1 addition & 1 deletion src/init-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async function run() {

const workflowErrors = await actionsUtil.getWorkflowErrors();

if (workflowErrors.length > 0) {
if (workflowErrors.filter(o => o.code !== 'LintFailed').length > 0) {
core.warning(actionsUtil.formatWorkflowErrors(workflowErrors));
}

Expand Down

0 comments on commit 56b1ead

Please sign in to comment.