avh4 / elm-upgrade

Upgrade Elm projects
https://www.npmjs.com/package/elm-upgrade
MIT License
122 stars 15 forks source link

Removing dependency of syncprompt #66 #67

Closed jah2488 closed 6 years ago

jah2488 commented 6 years ago

A relatively simple PR that removes syncprompt in favor of using node's built in readline library.

I had issues running the tests with yarn test, but if I ran the code found in yarn test manually, everything passed fine.

avh4 commented 6 years ago

Cool, yeah looks like the CI failure is because of prettier.. I usually just fix it with npx prettier --write upgrade.js

jah2488 commented 6 years ago

@avh4 🤦‍♀️ Yah, my editor's prettier config was overwriting the one for the project and causing the tests to fail. Pushed up a fix.

avh4 commented 6 years ago

Looks good! Forgot to remove syncprompt from package.json, though

jah2488 commented 6 years ago

@avh4 Its been a long day 😅

avh4 commented 6 years ago

Awesome, thanks!!