Skip to content

Commit

Permalink
fix cf
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ru4l committed Nov 11, 2022
1 parent 3ed469f commit de35978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphql-yoga/src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const logLevelScores: Record<LogLevel | 'silent', number> = {
const noop = () => undefined

export const createYogaLogger = (
logLevel: LogLevel | 'silent' = globalThis?.process.env['DEBUG'] === '1'
logLevel: LogLevel | 'silent' = globalThis.process?.env['DEBUG'] === '1'
? 'debug'
: 'info',
): YogaLogger => {
Expand Down

0 comments on commit de35978

Please sign in to comment.