Skip to content

Output of asdf version changed #1096

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

Closed
mortenscheel opened this issue Apr 3, 2025 · 0 comments · Fixed by #1127
Closed

Output of asdf version changed #1096

mortenscheel opened this issue Apr 3, 2025 · 0 comments · Fixed by #1127
Labels
C-bug Something isn't working

Comments

@mortenscheel
Copy link
Contributor

── 20:00:40 - asdf ─────────────────────────────────────────────────────────────
DEBUG Executing command `/home/morten/bin/asdf version`
The application panicked (crashed).
Message:  the output of `asdf version` changed, please file an issue to Topgrade
Location: /home/morten/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/topgrade-16.0.3/src/steps/os/unix.rs:656
~
❯ /home/morten/bin/asdf version
v0.16.7

Seems like run_asdf() expects the version string to contain a dash, which mine doesn't. It's a binary downloaded from the latest Github release.

@mortenscheel mortenscheel added the C-bug Something isn't working label Apr 3, 2025
matt-thomson added a commit to matt-thomson/topgrade that referenced this issue Apr 15, 2025
As of the latest version, this now has the format 0.16.7 - i.e. without
the hash part.  This commit makes it so that both formats work.

Fixes topgrade-rs#1096
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant