Skip to content

Prevent setup from overwriting malformed JSON configuration files#114

Open
fallintoplace wants to merge 1 commit into
microsoft:mainfrom
fallintoplace:fix/preserve-malformed-config
Open

Prevent setup from overwriting malformed JSON configuration files#114
fallintoplace wants to merge 1 commit into
microsoft:mainfrom
fallintoplace:fix/preserve-malformed-config

Conversation

@fallintoplace

Copy link
Copy Markdown

Summary

  • stop configuration when an existing JSON file cannot be parsed
  • show an error with an Open Config action
  • preserve the existing file byte-for-byte and skip skill installation
  • document the data-safety behavior

Testing

  • npm run check-types
  • npm run lint
  • npm test (97 passing)

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.

1 participant