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.
1 parent f2ecf73 commit e2cfc5cCopy full SHA for e2cfc5c
.changeset/smooth-beans-fetch.md
@@ -0,0 +1,5 @@
1
+---
2
+"@graphql-codegen/cli": patch
3
4
+
5
+fix(cli): prevent duplicated error messages on fail (without watcher)
packages/graphql-codegen-cli/src/cli.ts
@@ -16,7 +16,6 @@ export async function runCli(cmd: string): Promise<any> {
16
return await generate(context);
17
} catch (error) {
18
await lifecycleHooks(context.getConfig().hooks).onError(error.toString());
19
- throw error;
20
}
21
22
0 commit comments