Page MenuHomePhorge

D25126.1743036865.diff
No OneTemporary

D25126.1743036865.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 (empty($match['severity'])) {
+ return ArcanistLintSeverity::SEVERITY_ERROR;
+ }
$severity_name = strtolower(idx($match, 'severity'));
foreach ($map as $name => $severity) {

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 27, 00:54 (1 w, 23 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1219673
Default Alt Text
D25126.1743036865.diff (518 B)

Event Timeline