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

Check map file exists as well as compile JS target files #363

Closed
wants to merge 1 commit into from

Conversation

1999
Copy link

@1999 1999 commented Jun 19, 2017

close #362

The problem here is that second fs.writeFileSync can fail for some reason but the target compiled JS file would be built. In this case it will be used which leads to #362

@coveralls
Copy link

coveralls commented Jun 19, 2017

Coverage Status

Coverage remained the same at 86.538% when pulling ae1b7f8 on 1999:fix/missing-sourcemap into 28697b1 on TypeStrong:master.

@1999
Copy link
Author

1999 commented Jun 19, 2017

It looks like Travis CI error is not related to this change.

@blakeembrey
Copy link
Member

Thanks! The CI issue was fixed by someone else today (thanks!) and I did #368 in favour of this change. I'll do a new minor release today with both these new features!

@1999 1999 deleted the fix/missing-sourcemap branch June 21, 2017 21:58
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.

Uncaught errors when target JS file exists and MAP file doesn't exist
3 participants