Skip to content

Commit 2742af1

Browse files
committed
Detect multiple fatal mod problems at once
1 parent 698168b commit 2742af1

File tree

2 files changed

+478
-1
lines changed

2 files changed

+478
-1
lines changed

src/Analysis/Problem/Forge/ModFatalProblem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static function getPatterns(): array
3939
{
4040
return [
4141
'/\s*U[LCHIJAD]*E\s+(\w+)\{([^\}]+)\} \[([^\]]+)\] \(([^\)]+)\)/',
42-
'/Loading errors encountered: \[\s*([^\(]+) \(([^\)]+)\) has failed to load correctly/'
42+
'/^\s*([^\(\n]+) \(([^\)]+)\) has failed to load correctly/m'
4343
];
4444
}
4545

0 commit comments

Comments
 (0)