Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2977140
D25870.1739613473.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
568 B
Referenced Files
None
Subscribers
None
D25870.1739613473.diff
View Options
diff --git a/src/moduleutils/PhutilLibraryMapBuilder.php b/src/moduleutils/PhutilLibraryMapBuilder.php
--- a/src/moduleutils/PhutilLibraryMapBuilder.php
+++ b/src/moduleutils/PhutilLibraryMapBuilder.php
@@ -196,6 +196,11 @@
*/
private function writeSymbolCache(array $symbol_map, array $source_map) {
$cache_file = $this->getPathForSymbolCache();
+ try {
+ Filesystem::assertWritableFile($cache_file);
+ } catch (Exception $ex) {
+ return;
+ }
$cache = array(
self::SYMBOL_CACHE_VERSION_KEY => self::SYMBOL_CACHE_VERSION,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 15, 09:57 (1 w, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1165152
Default Alt Text
D25870.1739613473.diff (568 B)
Attached To
Mode
D25870: Skip writing symbol cache to non-writable directories
Attached
Detach File
Event Timeline
Log In to Comment