Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
Fix(publish): Update flag
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeffreyChaucer committed Mar 22, 2023
1 parent 3dbef45 commit de8046f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ export default class Promote extends SfpowerscriptsCommand {
}


if (this.flags.daysToKeep && this.flags.limit) {
await this.deleteGitTagsOlderThan(this.flags.gittagage, this.flags.gittaglimit);
if (this.flags.gittagage && this.flags.gittaglimit) {
await this.deleteGitTagsOlderThan(succesfullyPublishedPackageNamesForTagging, this.flags.gittagage, this.flags.gittaglimit);
} else if (this.flags.gittagage) {
await this.deleteGitTagsOlderThan(succesfullyPublishedPackageNamesForTagging, this.flags.gittagage);
} else if (this.flags.gittaglimit) {
Expand Down

0 comments on commit de8046f

Please sign in to comment.