Page MenuHomePhorge

D25126.1732294992.diff
No OneTemporary

D25126.1732294992.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
Fri, Nov 22, 17:03 (12 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
989252
Default Alt Text
D25126.1732294992.diff (518 B)

Event Timeline