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 a8f5b4a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/jsutils/instanceOf.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { inspect } from './inspect';

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

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

0 comments on commit a8f5b4a

Please sign in to comment.