fix checks

This commit is contained in:
Namrata Jha
2021-12-14 15:57:21 +00:00
committed by GitHub
parent 93d3863084
commit 334f20f7fa
3 changed files with 6 additions and 6 deletions

View File

@@ -128,7 +128,9 @@ export function finalIds(input: Input): Observable<string[]> {
}
}
return throwError(`no package id found`)
return throwError(
"Could not get packageVersionIds. Explicitly specify using the 'package-version-ids' input"
)
}
export function deleteVersions(input: Input): Observable<boolean> {

View File

@@ -54,8 +54,7 @@ export class Input {
this.owner &&
this.repo &&
this.packageName &&
this.numOldVersionsToDelete > 0 &&
this.minVersionsToKeep >= 0 &&
this.numOldVersionsToDelete >= 0 &&
this.token
)
}