Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

Conversation

nwoltman
Copy link
Contributor

Same for package-lock.json and npm-shrinkwrap.json.

Detect the line endings used in the original file and use the same line endings when updating the file.

Fixes #17161

@nwoltman nwoltman requested a review from a team as a code owner October 24, 2017 04:01
@vanjan
Copy link

vanjan commented Nov 28, 2017

Is this going to get merged this century?

Same for package-lock.json and npm-shrinkwrap.json

Detect the line endings used in the original file and
use the same line endings when updating the file.
@nwoltman
Copy link
Contributor Author

@zkat @iarna This should be pretty easy to review. The code is very similar to how indentation is handled.

@zkat
Copy link
Contributor

zkat commented Feb 24, 2018

@nwoltman oh no! I'm sorry I didn't see this before I saw the other one. We were gonna go through all our PRs for the next release and stacks work different than queues :<

I'm really happy that you wrote a test for this, and that's awesome -- would you be willing to rebase the test onto the patch for the other detection PR? I'll definitely take that and I'm really grateful you took the time to do this. <3

@nwoltman
Copy link
Contributor Author

Thank you for your kind response @zkat. I understand why the other PR showed up on your radar before this one. I'll rebase these changes using the release-next branch where the other PR landed and target that branch.

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

Successfully merging this pull request may close these issues.

3 participants