From 2556181549b76634cc8b1bb96edbc5b4d66f3548 Mon Sep 17 00:00:00 2001 From: Janos Hrubos <33330538+janoshrubos@users.noreply.github.com> Date: Wed, 10 Feb 2021 17:54:57 +0100 Subject: [PATCH] fix: ns update handle no arguments at tag validation --- lib/controllers/update-controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/controllers/update-controller.ts b/lib/controllers/update-controller.ts index 40409a439c..a97acaab65 100644 --- a/lib/controllers/update-controller.ts +++ b/lib/controllers/update-controller.ts @@ -89,6 +89,7 @@ export class UpdateController updateOptions.projectDir ); + updateOptions.version = updateOptions.version || PackageVersion.LATEST; try { // this is a preventive check to make sure the passed version exists before doing any backups, however // the update can still fail if the specified tag doesn't exist in one of the updatableDependencies