Skip to content

Commit 6196db5

Browse files
YOUR_NAMEYOUR_NAME
authored andcommitted
bug
1 parent af587f1 commit 6196db5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aexol/axolotl-engine",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Automatically generated by graphql-editor-cli",
55
"main": "lib/index.js",
66
"type": "module",

packages/cli/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ const generateFiles = (options: ProjectOptions) => {
5959
});
6060
const generationMessage = `Models in path "${options.models}" have been generated.`;
6161
console.log(chalk.greenBright(generationMessage));
62+
superGraphSchema = superGraphSchema || readFileSync(options.schema, 'utf-8');
6263
if (options.zeus?.length) {
6364
options.zeus.forEach((z) => {
6465
generateZeusSchema(z.schema ? readFileSync(z.schema, 'utf-8') : superGraphSchema, z.generationPath, {

0 commit comments

Comments
 (0)