Skip to content

Commit b0ca7e0

Browse files
committed
add eslint ignore as there was before
1 parent 546c13f commit b0ca7e0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/jsutils/instanceOf.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
import { inspect } from './inspect';
22

3-
const isProduction = typeof process !== 'undefined' && process.env && process.env.NODE_ENV === 'production';
3+
/* c8 ignore next 4 */
4+
const isProduction =
5+
// eslint-disable-next-line no-undef
6+
typeof process !== 'undefined' &&
7+
// eslint-disable-next-line no-undef
8+
process.env &&
9+
// eslint-disable-next-line no-undef
10+
process.env.NODE_ENV === 'production';
411

512
/**
613
* A replacement for instanceof which includes an error warning when multi-realm

0 commit comments

Comments
 (0)