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

elm-format 0.8.5 breaks elm-upgrade #93

Open
reinefjord opened this issue Feb 11, 2021 · 3 comments
Open

elm-format 0.8.5 breaks elm-upgrade #93

reinefjord opened this issue Feb 11, 2021 · 3 comments

Comments

@reinefjord
Copy link

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]
@avh4
Copy link
Owner

avh4 commented Feb 11, 2021

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.

@reinefjord
Copy link
Author

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 :)

@mbylstra
Copy link

mbylstra commented May 9, 2024

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.

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

No branches or pull requests

3 participants