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

fix: don't overwrite file if file exists. fixes #2408 #2409

Merged
merged 1 commit into from Mar 2, 2018
Merged

Conversation

jpoon
Copy link
Member

@jpoon jpoon commented Mar 1, 2018

What this PR does / why we need it: there was a case where a file would get overwritten. specifically, when we are trying to find a file ("hello"), we search for the file with the same extension ("hello.ts"), and if that exists, we overwrite the file :(

Which issue(s) this PR fixes #2408.

Special notes for your reviewer:

@jpoon jpoon merged commit cfcec92 into master Mar 2, 2018
@jpoon jpoon deleted the fix-overwrite branch March 2, 2018 18:33
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.

None yet

1 participant