We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e98ceba commit b398aceCopy full SHA for b398ace
src/Command/BuildDocsCommand.php
@@ -91,7 +91,7 @@ protected function initialize(InputInterface $input, OutputInterface $output)
91
}
92
93
$filesystem = new Filesystem();
94
- $htmlOutputDir = $input->getArgument('output-dir') ?? $sourceDir.'/html';
+ $htmlOutputDir = $input->getArgument('output-dir') ?? rtrim(getcwd(), '/').'/html';
95
if ($input->getOption('disable-cache') && $filesystem->exists($htmlOutputDir)) {
96
$filesystem->remove($htmlOutputDir);
97
0 commit comments