Closed amtoine closed 10 months ago
found the use of a deprecated command just after releasing 0.3.0 and trying out gm clean :yum:
0.3.0
gm clean
unfold is going to be renamed generate very soon :smirk:
unfold
generate
tk run --clean { gm clone https://github.com/amtoine/nu-git-manager --depth 1 }
tk run { gm update-cache; gm clean }
Error: × Deprecated option ╭─[/home/amtoine/.local/share/nupm/modules/nu-git-manager/fs/dir.nu:6:1] 6 │ export def clean-empty-directories-rec []: list<path> -> list<path> { 7 │ let deleted = unfold $in {|directories| · ───┬── · ╰── `unfold` is deprecated and will be removed in 0.88. 8 │ let next = $directories | each {|it| ╰──── help: Please use `generate` instead.
no deprecation warning
No response
Describe the bug
found the use of a deprecated command just after releasing
0.3.0
and trying outgm clean
:yum:unfold
is going to be renamedgenerate
very soon :smirk:How to reproduce
tk run --clean { gm clone https://github.com/amtoine/nu-git-manager --depth 1 }
tk run { gm update-cache; gm clean }
Expected behavior
no deprecation warning
Configuration
Additional context
No response