-
Couldn't load subscription status.
- Fork 21
Closed
Description
Describe the bug
A clear and concise description of what the bug is.
when using deco update, the command assumes the global install to update uses npm. This is wrong, it could be using bun, for example.
To Reproduce
Steps to reproduce the behavior:
- Install deco-cli with bun
bun i -g deco-cliin an old version - Run
deco updateto download and install latest version (the program will use npm) - Now when you run deco --version you still are using the bun one, which is on the old version.
Expected behavior
The CLI should detect what package manager is being used when self-updating.
Environment
- OS: macOS
Metadata
Metadata
Assignees
Labels
No labels