Remove unnecessary realpath which can fail, closes #10694
parent
0985501602
commit
96f087a273
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue