|
@@ 222-224 (lines=3) @@
|
| 219 |
|
{ |
| 220 |
|
$outputDir = $input->getOption(self::OUTPUT_DIR_OPT); |
| 221 |
|
|
| 222 |
|
if (false === $this->fileSystem->isAbsolutePath($outputDir)) { |
| 223 |
|
$outputDir = getcwd().DIRECTORY_SEPARATOR.$outputDir; |
| 224 |
|
} |
| 225 |
|
|
| 226 |
|
$input->setOption(self::OUTPUT_DIR_OPT, $outputDir); |
| 227 |
|
|
|
@@ 349-351 (lines=3) @@
|
| 346 |
|
|
| 347 |
|
private function makeAbsolutePath(string $path): string |
| 348 |
|
{ |
| 349 |
|
if (false === $this->fileSystem->isAbsolutePath($path)) { |
| 350 |
|
$path = getcwd().DIRECTORY_SEPARATOR.$path; |
| 351 |
|
} |
| 352 |
|
|
| 353 |
|
return $path; |
| 354 |
|
} |