diff --git a/packages/graphql-codegen-cli/src/generate-and-save.ts b/packages/graphql-codegen-cli/src/generate-and-save.ts index 9ddbada4803..dc4fb3b4488 100644 --- a/packages/graphql-codegen-cli/src/generate-and-save.ts +++ b/packages/graphql-codegen-cli/src/generate-and-save.ts @@ -3,8 +3,6 @@ import { executeCodegen } from './codegen'; import { createWatcher } from './utils/watcher'; import fs from './utils/file-system'; -process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; - export async function generate(config: Types.Config, saveToFile = true): Promise { async function writeOutput(generationResult: FileOutput[]) { if (!saveToFile) {