Do not show lint failed in the UX if it happens

This commit is contained in:
Simon Engledew
2020-12-01 17:22:54 +00:00
parent b1be00db57
commit 56b1ead679
3 changed files with 3 additions and 3 deletions

View File

@@ -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));
}