Skip to content

Commit a8f5b4a

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

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/jsutils/instanceOf.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
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+
// eslint-disable-next-line no-undef
5+
const isProduction =
6+
typeof process !== 'undefined' &&
7+
process.env &&
8+
process.env.NODE_ENV === 'production';
49

510
/**
611
* A replacement for instanceof which includes an error warning when multi-realm

0 commit comments

Comments
 (0)