From ac1b4d94097ef82173eb50d7ef978eb3f05801f7 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Tue, 18 Aug 2020 13:33:47 +0200 Subject: [PATCH] baseExportPath already point to var dir --- src/Command/GraphQLDumpSchemaCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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':