mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
Merge pull request #104 from jeffmo/master
Pull request for D2025 (fix phabricator linter regex issue)
This commit is contained in:
commit
bf2422afc8
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ final class PhabricatorJavelinLinter extends ArcanistLinter {
|
||||||
$symbols = explode("\n", trim($symbols));
|
$symbols = explode("\n", trim($symbols));
|
||||||
foreach ($symbols as $line) {
|
foreach ($symbols as $line) {
|
||||||
$matches = null;
|
$matches = null;
|
||||||
if (!preg_match('/^([?+])([^:]*):(\d+)$/', $line, $matches)) {
|
if (!preg_match('/^([?+\*])([^:]*):(\d+)$/', $line, $matches)) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
"Received malformed output from `javelinsymbols`.");
|
"Received malformed output from `javelinsymbols`.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue