Skip to content

Conversation

@rekmarks
Copy link
Member

@rekmarks rekmarks commented Jan 7, 2022

Original comment by @MakMuftic:

Description

Based on the discussion ChainSafe/filsnap#88 and some further investigation, I realized that the problem origin is inside the library used for stripping comments. The problem occurs if there are double quotes inside the comment, and this issue has been created inside strip-comments lib (jonschlinkert/strip-comments#49). Unfortunately, this PR with the fix is stale for some time now, so inside our fork of snaps-cli we used a forked version of strip-comments library.

Changes

In this PR I replaced strip-comments with our fork that:

  • fixes a bug with double quotes inside the comment
  • already contains types, so no need for importing them

@rekmarks rekmarks mentioned this pull request Jan 7, 2022
@rekmarks rekmarks changed the title Rekmarks/fix strip comments fixes Fix strip-comments Jan 7, 2022
@MakMuftic

This comment has been minimized.

@rekmarks rekmarks merged commit c18fa79 into main Jan 7, 2022
@rekmarks rekmarks deleted the rekmarks/fix-strip-comments-fixes branch January 7, 2022 20:21
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.

5 participants