avh4 / elm-upgrade

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

`elm-upgrade` fails if the repository URL starts with `http` instead of `https` #72

Open pdamoc opened 6 years ago

pdamoc commented 6 years ago

The repository I tried this on had a default http://github.com/user/project.git value. (I'm guessing that this is what the default value might have been on elm version that was uses to start the project).

The culprit is this line.

My guess is that it would also fail if the repository field is a valid repository but not on github.