asdf-vm/asdf

bug: nushell `def-env` is deprecated

acidghost opened this issue · 1 comments

Describe the Bug

Version 0.87 of nushell deprecates the use of def-env nushell/nushell#10715. It will be removed in the next version.

This is the only place where it's used:

asdf/asdf.nu

Line 1 in fad23bc

def-env configure-asdf [] {

AFAIK just replacing it with def --env should work.

Steps to Reproduce

Just use asdf from nushell.

Expected Behaviour

No deprecation warnings should be issued with version 0.87.

Actual Behaviour

Deprecation warnings with version 0.87.

Environment

Not relevant.

asdf plugins affected (if relevant)

No response

thanks for the report! this has been fixed in #1681