-
Notifications
You must be signed in to change notification settings - Fork 252
Closed
Description
cross-env
version: 5.1.2node
version: 4.8.7npm
(oryarn
) version: 2.15.11
What you did:
- Ran npm script:
cross-env NODE_ENV=test nyc mocha "test/spec/**/*.test.+(js|jsx)"
What happened:
- Threw an error:
TypeError: Cannot supply flags when constructing one RegExp from another
Problem description:
- Offending line of code:
Line 60 in 7fa5c08
const re = new RegExp(/(\\)?'|([\\])(?=[$"\\])/, 'g')
kentcdodds
Metadata
Metadata
Assignees
Labels
No labels