Skip to content

Commit a597f50

Browse files
committed
Remove window|undefined from exception regexp
1 parent e7f4a7a commit a597f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/no-array-prototype-extensions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const KNOWN_NON_ARRAY_FUNCTION_CALLS = new Set([
9494
*/
9595
const KNOWN_NON_ARRAY_FUNCTION_CALLS_REGEXP = new Set([
9696
// ember-cli-mirage
97-
/(window|undefined)\.server\.schema\.(.*)\.findBy\(\)/,
97+
/\.server\.schema\.(.*)\.findBy\(\)/,
9898
]);
9999

100100
/**

0 commit comments

Comments
 (0)