Skip to content

Commit 04202dc

Browse files
authored
fix: ns update default to latest version (#5497)
1 parent 35d8301 commit 04202dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/controllers/update-controller.ts

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export class UpdateController
8989
updateOptions.projectDir
9090
);
9191

92+
updateOptions.version = updateOptions.version || PackageVersion.LATEST;
9293
try {
9394
// this is a preventive check to make sure the passed version exists before doing any backups, however
9495
// the update can still fail if the specified tag doesn't exist in one of the updatableDependencies

0 commit comments

Comments
 (0)