Page MenuHomePhabricator

D9643.diff
No OneTemporary

D9643.diff

diff --git a/src/lint/linter/__tests__/ArcanistLinterTestCase.php b/src/lint/linter/__tests__/ArcanistLinterTestCase.php
--- a/src/lint/linter/__tests__/ArcanistLinterTestCase.php
+++ b/src/lint/linter/__tests__/ArcanistLinterTestCase.php
@@ -38,7 +38,11 @@
$basename = basename($file);
- $config = phutil_json_decode($config);
+ if ($config) {
+ $config = phutil_json_decode($config);
+ } else {
+ $config = array();
+ }
PhutilTypeSpec::checkMap(
$config,
array(

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 11, 4:38 AM (3 d, 18 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6738982
Default Alt Text
D9643.diff (515 B)

Event Timeline