We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 546c13f commit b0ca7e0Copy full SHA for b0ca7e0
src/jsutils/instanceOf.ts
@@ -1,6 +1,13 @@
1
import { inspect } from './inspect';
2
3
-const isProduction = typeof process !== 'undefined' && process.env && process.env.NODE_ENV === 'production';
+/* c8 ignore next 4 */
4
+const isProduction =
5
+ // eslint-disable-next-line no-undef
6
+ typeof process !== 'undefined' &&
7
8
+ process.env &&
9
10
+ process.env.NODE_ENV === 'production';
11
12
/**
13
* A replacement for instanceof which includes an error warning when multi-realm
0 commit comments