Just convert the pattern into a RegExp...
This commit is contained in:
parent
4d862616ce
commit
698e2a5487
9 changed files with 62 additions and 107 deletions
|
|
@ -101,7 +101,9 @@ async function run() {
|
|||
// we do not want to worry users if linting is failing
|
||||
// but we do want to send a status report containing this error code
|
||||
// below
|
||||
const userWorkflowErrors = workflowErrors.filter(o => o.code !== 'LintFailed');
|
||||
const userWorkflowErrors = workflowErrors.filter(
|
||||
(o) => o.code !== "LintFailed"
|
||||
);
|
||||
|
||||
if (userWorkflowErrors.length > 0) {
|
||||
core.warning(actionsUtil.formatWorkflowErrors(userWorkflowErrors));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue