Skip to content

Commit 8f18c69

Browse files
Chi-teckweitzman
authored andcommitted
Issue #3596: Canonicalize directory. (#3600)
1 parent 947591f commit 8f18c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Drupal/Commands/config/ConfigCommands.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public function getChanges($target_storage)
340340
*/
341341
public function getStorage($directory)
342342
{
343-
if ($directory == \config_get_config_directory(CONFIG_SYNC_DIRECTORY)) {
343+
if ($directory == Path::canonicalize(\config_get_config_directory(CONFIG_SYNC_DIRECTORY))) {
344344
return \Drupal::service('config.storage.sync');
345345
} else {
346346
return new FileStorage($directory);

0 commit comments

Comments
 (0)