Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15380632
D20788.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
906 B
Referenced Files
None
Subscribers
None
D20788.diff
View Options
diff --git a/src/applications/config/management/PhabricatorConfigManagementSetWorkflow.php b/src/applications/config/management/PhabricatorConfigManagementSetWorkflow.php
--- a/src/applications/config/management/PhabricatorConfigManagementSetWorkflow.php
+++ b/src/applications/config/management/PhabricatorConfigManagementSetWorkflow.php
@@ -145,7 +145,7 @@
$local_path = $config_source->getReadablePath();
try {
- Filesystem::assertWritable($local_path);
+ $config_source->setKeys(array($key => $value));
} catch (FilesystemException $ex) {
throw new PhutilArgumentUsageException(
pht(
@@ -154,8 +154,6 @@
Filesystem::readablePath($local_path)));
}
- $config_source->setKeys(array($key => $value));
-
$write_message = pht(
'Wrote configuration key "%s" to local storage (in file "%s").',
$key,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 15, 3:55 AM (1 w, 19 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7389515
Default Alt Text
D20788.diff (906 B)
Attached To
Mode
D20788: Allow bin/config to create config file
Attached
Detach File
Event Timeline
Log In to Comment