Skip to content

Commit ef33fa7

Browse files
authored
Merge pull request overblog#747 from bartv2/patch-dump-path
baseExportPath already point to var dir
2 parents 04818f2 + ac1b4d9 commit ef33fa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/GraphQLDumpSchemaCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private function createFile(InputInterface $input): string
100100
/** @var bool $includeDescription */
101101
$includeDescription = $input->getOption('with-descriptions');
102102

103-
$file = $input->getOption('file') ?: $this->baseExportPath.sprintf('/var/schema%s.%s', $schemaName ? '.'.$schemaName : '', $format);
103+
$file = $input->getOption('file') ?: $this->baseExportPath.sprintf('/schema%s.%s', $schemaName ? '.'.$schemaName : '', $format);
104104

105105
switch ($format) {
106106
case 'json':

0 commit comments

Comments
 (0)