Skip to content

Commit

Permalink
add eslint ignore as there was before
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Feb 14, 2024
1 parent 546c13f commit b0ca7e0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/jsutils/instanceOf.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import { inspect } from './inspect';

const isProduction = typeof process !== 'undefined' && process.env && process.env.NODE_ENV === 'production';
/* c8 ignore next 4 */
const isProduction =
// eslint-disable-next-line no-undef
typeof process !== 'undefined' &&
// eslint-disable-next-line no-undef
process.env &&
// eslint-disable-next-line no-undef
process.env.NODE_ENV === 'production';

/**
* A replacement for instanceof which includes an error warning when multi-realm
Expand Down

0 comments on commit b0ca7e0

Please sign in to comment.