Skip to content

Commit b398ace

Browse files
committed
Using cwd as default build dir (+/html)
1 parent e98ceba commit b398ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/BuildDocsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected function initialize(InputInterface $input, OutputInterface $output)
9191
}
9292

9393
$filesystem = new Filesystem();
94-
$htmlOutputDir = $input->getArgument('output-dir') ?? $sourceDir.'/html';
94+
$htmlOutputDir = $input->getArgument('output-dir') ?? rtrim(getcwd(), '/').'/html';
9595
if ($input->getOption('disable-cache') && $filesystem->exists($htmlOutputDir)) {
9696
$filesystem->remove($htmlOutputDir);
9797
}

0 commit comments

Comments
 (0)