syntax-highlighter icon indicating copy to clipboard operation
syntax-highlighter copied to clipboard

Remove an extra comma that leads to JSON parse error.

Open Symbolk opened this issue 2 years ago • 1 comments

For the latest npm 7.20.5, this extra comma will lead to this error:

npm ERR! code EJSONPARSE
npm ERR! path /Users/symbolk/coding/vscode/syntax-highlighter/package.json
npm ERR! JSON.parse Unexpected token "]" (0x5D) in JSON at position 1239 while parsing near "...\r\n        \"D\",\r\n    ],\r\n    \"activationE..."
npm ERR! JSON.parse Failed to parse JSON data.
npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.

Symbolk avatar Aug 12 '21 04:08 Symbolk

This PR happens to be a duplicate of PR #69.

tajmone avatar Feb 18 '22 20:02 tajmone