forked from alangpierce/sucrase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ugly emitted comments when removing code between tokens (alangpie…
…rce#286) Fixes alangpierce#281 Previously, it seemed best to remove all whitespace, but that makes comments look really weird, since all spaces are removed in the comment. Instead, for now, we remove whitespace and comments in their entirety (except newlines).
- Loading branch information
1 parent
719af1d
commit d7ab2ae
Showing
2 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters