avh4 / elm-upgrade

Upgrade Elm projects

Home Page:https://www.npmjs.com/package/elm-upgrade

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

elm-format 0.8.5 breaks elm-upgrade

reinefjord opened this issue · comments

elm-format 0.8.5 has removed the --upgrade option, breaking elm-upgrade:

INFO: Upgrading *.elm files in ./
Invalid option `--upgrade'

elm-format 0.8.5

Usage: elm-format [INPUT] [--output FILE] [--yes] [--validate] [--stdin] 
                  [--elm-version VERSION]

Do a lot of folks still have 0.18 projects they're upgrading? There's one more feature I have to finish before I can make the elm-refactor binaries.

The workaround is to use elm-format-0.8.4 temporarily when running elm-upgrade.

I have one rather large project that's still on 0.18. Installing 0.8.4 is fine for me, just wanted to make you aware :)

Do a lot of folks still have 0.18 projects they're upgrading? There's one more feature I have to finish before I can make the elm-refactor binaries.

The workaround is to use elm-format-0.8.4 temporarily when running elm-upgrade.

Yes, probably for years to come I'm afraid. I have loads of old personal projects that eventually I come back to (nothing my salary depends on). Still, it wasn't too hard to find this issue and do the workaround.