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
No known key found for this signature in database
GPG key ID: 84302E7B02FE8BCE
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));
}