Code Duplication    Length = 3-3 lines in 2 locations

src/Console/Command/AddPrefixCommand.php 2 locations

@@ 206-208 (lines=3) @@
203
    {
204
        $outputDir = $input->getOption(self::OUTPUT_DIR_OPT);
205
206
        if (false === $this->fileSystem->isAbsolutePath($outputDir)) {
207
            $outputDir = getcwd().DIRECTORY_SEPARATOR.$outputDir;
208
        }
209
210
        $input->setOption(self::OUTPUT_DIR_OPT, $outputDir);
211
@@ 333-335 (lines=3) @@
330
331
    private function makeAbsolutePath(string $path): string
332
    {
333
        if (false === $this->fileSystem->isAbsolutePath($path)) {
334
            $path = getcwd().DIRECTORY_SEPARATOR.$path;
335
        }
336
337
        return $path;
338
    }