-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix generated .pnp.js compatibility with Node 6. (#6871)
* Fix generated .pnp.js compatibility with Node 6. Prior to these changes the generated `.pnp.js` file would use trailing commas for function invocations which is not allowed (and generates a parse error) under Node 6. This removes the offending trailing commas... * Update lint config for src/util/generate-pnp-map-api.tpl.js. This file does not get transpiled down for Node 4 compat like other files, so we cannot use `"trailingComma": "all"` configuration (the default prettier config for this repo).
- Loading branch information
Showing
2 changed files
with
28 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters