Open polatengin opened 2 months ago
Fixes #466
When parsing manifest json files, no need to check if it's json5 (supports comments, unquoted keys, etc.) or json
json
json5
jju.parse() method already support json and json5 formats.
jju.parse()
test.json
{ name: "test", version: "1.0.0", "publisher": "test", categories: ["test"], contributions: [ { "id": "home", "type": "ms.vss-web.hub", } ], // A comment }
test command
node ./_build/tfx-cli.js extension create --manifests ./_build/test.json --trace-level debug
Fixes #466
When parsing manifest
json
files, no need to check if it'sjson5
(supports comments, unquoted keys, etc.) orjson
jju.parse()
method already supportjson
andjson5
formats.test.json
test command