Page MenuHomePhabricator

D19588.id.diff
No OneTemporary

D19588.id.diff

diff --git a/scripts/symbols/generate_ctags_symbols.php b/scripts/symbols/generate_ctags_symbols.php
--- a/scripts/symbols/generate_ctags_symbols.php
+++ b/scripts/symbols/generate_ctags_symbols.php
@@ -39,6 +39,10 @@
$futures = array();
foreach (explode("\n", trim($input)) as $file) {
+ if (!strlen($file)) {
+ continue;
+ }
+
$file = Filesystem::readablePath($file);
$futures[$file] = ctags_get_parser_future($file);
}
diff --git a/scripts/symbols/generate_php_symbols.php b/scripts/symbols/generate_php_symbols.php
--- a/scripts/symbols/generate_php_symbols.php
+++ b/scripts/symbols/generate_php_symbols.php
@@ -27,6 +27,10 @@
$futures = array();
foreach (explode("\n", trim($input)) as $file) {
+ if (!strlen($file)) {
+ continue;
+ }
+
$file = Filesystem::readablePath($file);
$data[$file] = Filesystem::readFile($file);
$futures[$file] = PhutilXHPASTBinary::getParserFuture($data[$file]);

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 2, 6:58 AM (4 d, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7721352
Default Alt Text
D19588.id.diff (932 B)

Event Timeline