Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should not insert before the BOM #308

Closed
dsherret opened this issue Apr 12, 2018 · 0 comments
Closed

Should not insert before the BOM #308

dsherret opened this issue Apr 12, 2018 · 0 comments
Labels

Comments

@dsherret
Copy link
Owner

I remember someone mentioned this in the past, but I never looked into it. I was able to reproduce this today. Basically do something like this:

sourceFile.insertImportDeclaration(0, { ... });

This is easy to fix. Just need to update the TextManipulators to not insert before the BOM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant