Page MenuHomePhorge

D25126.1732295103.diff
No OneTemporary

D25126.1732295103.diff

diff --git a/src/lint/linter/ArcanistScriptAndRegexLinter.php b/src/lint/linter/ArcanistScriptAndRegexLinter.php
--- a/src/lint/linter/ArcanistScriptAndRegexLinter.php
+++ b/src/lint/linter/ArcanistScriptAndRegexLinter.php
@@ -376,6 +376,9 @@
'disabled' => ArcanistLintSeverity::SEVERITY_DISABLED,
);
+ if (!isset($match['severity'])) {
+ return ArcanistLintSeverity::SEVERITY_ERROR;
+ }
$severity_name = strtolower(idx($match, 'severity'));
foreach ($map as $name => $severity) {

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 17:05 (11 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
988778
Default Alt Text
D25126.1732295103.diff (519 B)

Event Timeline