Remove unnecessary realpath which can fail, closes #10694

main
Jordi Boggiano 2 years ago
parent 0985501602
commit 96f087a273
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -185,7 +185,7 @@ EOT
$authConfigFile = $input->getOption('global')
? ($this->config->get('home') . '/auth.json')
: dirname(realpath($configFile)) . '/auth.json';
: dirname($configFile) . '/auth.json';
$this->authConfigFile = new JsonFile($authConfigFile, null, $io);
$this->authConfigSource = new JsonConfigSource($this->authConfigFile, true);

Loading…
Cancel
Save