1
0
Fork 0

Remove unnecessary realpath which can fail, closes #10694

pull/10701/head
Jordi Boggiano 2022-04-02 12:45:27 +02:00
parent 0985501602
commit 96f087a273
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

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