Skip to content

Commit

Permalink
Ignore "using configuration file" line (fixes #96)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sander Ronde committed Aug 23, 2024
1 parent c5b0ac3 commit 51ea3c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/src/lib/phpstan/processRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ export class PHPStanRunner implements AsyncDisposable {
return;
}

if (/Note: Using configuration file/.test(str)) {
// Ignore this line
return;
}

// Ignore control characters in output
// eslint-disable-next-line no-control-regex
const ansiRegex = /\x1b\[(\d+)/g;
Expand Down

0 comments on commit 51ea3c4

Please sign in to comment.