Closed amtoine closed 6 months ago
as per title
tk run --clean { gm update-cache gm clone --depth 1 https://github.com/amtoine/nu-git-manager let repo = gm list --full-path | find nu-git-manager | get 0 cd $repo gm remove --no-confirm nu-git-manager }
will give
Error: × Cannot remove any parent directory ╭─[/home/amtoine/.local/share/nupm/modules/nu-git-manager/mod.nu:433:1] 433 │ 434 │ rm --recursive --force --verbose $repo_to_remove · ───────┬─────── · ╰── cannot remove any parent directory 435 │ ╰────
i expected either the repo to be removed or at least a nice error
No response
Describe the bug
as per title
How to reproduce
will give
Expected behavior
i expected either the repo to be removed or at least a nice error
Configuration
Additional context
No response