diff --git a/src/Command/GraphQLDumpSchemaCommand.php b/src/Command/GraphQLDumpSchemaCommand.php index d42036826..b0873f0d9 100644 --- a/src/Command/GraphQLDumpSchemaCommand.php +++ b/src/Command/GraphQLDumpSchemaCommand.php @@ -100,7 +100,7 @@ private function createFile(InputInterface $input): string /** @var bool $includeDescription */ $includeDescription = $input->getOption('with-descriptions'); - $file = $input->getOption('file') ?: $this->baseExportPath.sprintf('/var/schema%s.%s', $schemaName ? '.'.$schemaName : '', $format); + $file = $input->getOption('file') ?: $this->baseExportPath.sprintf('/schema%s.%s', $schemaName ? '.'.$schemaName : '', $format); switch ($format) { case 'json':