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.
any
1 parent 45b6f26 commit a24e27eCopy full SHA for a24e27e
packages/generate/src/cli.ts
@@ -367,7 +367,7 @@ program
367
await ensureTarget(options, projectRoot);
368
369
// special handling: --file present but no value => default to <schemaDir>/queries
370
- const fileWasPresentWithoutValue = (opts as any).file === true;
+ const fileWasPresentWithoutValue = opts.file === true;
371
if (fileWasPresentWithoutValue) {
372
options.file = path.join(schemaDir, "queries");
373
}
0 commit comments