Skip to content

Commit

Permalink
splitted regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Astisme committed Jan 2, 2025
1 parent f9fa254 commit 0458b94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
}
// Remove ANSI codes
const cleanErrorOutput = str.replace(/\x1b\[[0-9;]*m/g;, '');
const ansiRegex = /\x1b\[[0-9;]*m/g;
const cleanErrorOutput = str.replace(ansiRegex, '');
// Create a comment on the PR with the error message
await github.rest.issues.createComment({
Expand Down

0 comments on commit 0458b94

Please sign in to comment.