Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support --upgrade to the specified name #46

Open
hayd opened this issue Dec 1, 2021 · 0 comments
Open

Support --upgrade to the specified name #46

hayd opened this issue Dec 1, 2021 · 0 comments

Comments

@hayd
Copy link
Owner

hayd commented Dec 1, 2021

If you install udd as foo (deno install -n foo ...) then the --upgrade should update foo not udd.

deno-udd/main.ts

Lines 85 to 86 in 862c789

// TODO support alternative name to udd if that's what's been used before.
await spawn([Deno.execPath(), "install", "--reload", "-qAfn", "udd", url]);

This should be straightforward... but I'm not sure how we access the name used.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant