diff --git a/src/tools/oxlint.ts b/src/tools/oxlint.ts index 7f51163..b30daac 100644 --- a/src/tools/oxlint.ts +++ b/src/tools/oxlint.ts @@ -26,7 +26,7 @@ export const parseOuptut: OutputParser = ({ stdout, stderr }) => { if (stdout.trim()) { return stdout.split(/\r?\n/).reduce((acc, line) => { const groups = - /^(?.+?):(?[0-9]+):(?[0-9]):\s?(?.*?)\s?\[(?Warning|Error)\/?(?.*?)\]\s?$/.exec( + /^(?.+?):(?[0-9]+):(?[0-9]+):\s?(?.*?)\s?\[(?Warning|Error)\/?(?.*?)\]\s?$/.exec( line, )?.groups; if (groups) { diff --git a/src/tools/prettier.ts b/src/tools/prettier.ts index 82f5b14..2ed2753 100644 --- a/src/tools/prettier.ts +++ b/src/tools/prettier.ts @@ -19,7 +19,7 @@ export const parseOuptut: OutputParser = ({ stdout, stderr }) => { if (stderr.trim()) { return stderr.split(/\r?\n/).reduce((acc, line) => { const groups = - /^\[(?.+?)\]\s?(?.+?):\s?(?.*?)\s?\((?[0-9]+):(?[0-9])\)$/.exec( + /^\[(?.+?)\]\s?(?.+?):\s?(?.*?)\s?\((?[0-9]+):(?[0-9]+)\)$/.exec( line, )?.groups; if (groups) {