From 2dc6d27141b8489719e64f2f0045bd564cb0c02f Mon Sep 17 00:00:00 2001 From: Namrata Jha Date: Wed, 17 Nov 2021 08:10:06 +0000 Subject: [PATCH] update input.ts --- dist/index.js | 2 +- src/input.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 85ef7ff..20e8319 100644 --- a/dist/index.js +++ b/dist/index.js @@ -112,7 +112,7 @@ class Input { this.repo && this.packageName && this.numOldVersionsToDelete > 0 && - this.minVersionsToKeep > 0 && + this.minVersionsToKeep >= 0 && this.token); } } diff --git a/src/input.ts b/src/input.ts index f8ce796..e4cd128 100644 --- a/src/input.ts +++ b/src/input.ts @@ -60,7 +60,7 @@ export class Input { this.repo && this.packageName && this.numOldVersionsToDelete > 0 && - this.minVersionsToKeep > 0 && + this.minVersionsToKeep >= 0 && this.token ) }