fix typo
This commit is contained in:
Vendored
+1
-1
@@ -113,7 +113,7 @@ function deleteVersions(input) {
|
|||||||
return rxjs_1.throwError('No token found');
|
return rxjs_1.throwError('No token found');
|
||||||
}
|
}
|
||||||
if (!input.checkInput()) {
|
if (!input.checkInput()) {
|
||||||
return rxjs_1.throwError('Invlaid input combination');
|
return rxjs_1.throwError('Invalid input combination');
|
||||||
}
|
}
|
||||||
if (input.numOldVersionsToDelete <= 0 && input.minVersionsToKeep < 0) {
|
if (input.numOldVersionsToDelete <= 0 && input.minVersionsToKeep < 0) {
|
||||||
console.log('Number of old versions to delete input is 0 or less, no versions will be deleted');
|
console.log('Number of old versions to delete input is 0 or less, no versions will be deleted');
|
||||||
|
|||||||
+1
-1
@@ -134,7 +134,7 @@ export function deleteVersions(input: Input): Observable<boolean> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!input.checkInput()) {
|
if (!input.checkInput()) {
|
||||||
return throwError('Invlaid input combination')
|
return throwError('Invalid input combination')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (input.numOldVersionsToDelete <= 0 && input.minVersionsToKeep < 0) {
|
if (input.numOldVersionsToDelete <= 0 && input.minVersionsToKeep < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user