Skip to content

Commit

Permalink
remove NODE_TLS_REJECT_UNAUTHORIZED
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed May 16, 2019
1 parent a49a2a9 commit 964f795
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/graphql-codegen-cli/src/generate-and-save.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<FileOutput[] | any> {
async function writeOutput(generationResult: FileOutput[]) {
if (!saveToFile) {
Expand Down

0 comments on commit 964f795

Please sign in to comment.