Skip to content

Conversation

polatengin
Copy link
Collaborator

@polatengin polatengin commented Sep 24, 2024

Fixes #466

When parsing manifest json files, no need to check if it's json5 (supports comments, unquoted keys, etc.) or json

jju.parse() method already support json and json5 formats.

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

@polatengin polatengin self-assigned this Sep 24, 2024
@polatengin polatengin requested review from a team as code owners September 24, 2024 23:42
@polatengin polatengin linked an issue Sep 24, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash when writing debug logs

1 participant