Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaspearson committed Apr 21, 2024
1 parent ae4ea39 commit 063f5d1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export async function executeAction(input: Input, queryStrategy: QueryStrategy,
const processedPackages = processPackages(input, packages)

if (processedPackages.length <= 0) {
info("No versions to delete test")
info("No versions to delete")

return
}
Expand Down
4 changes: 2 additions & 2 deletions src/process/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export function processPackages(input: Input, packages: Package[]): Package[] {
}

export function findVersionsToDelete(input: Input, versions: PackageVersion[]): PackageVersion[] {
info(`versions: ${versions}`)
info(`input versionPatternAll: ${input.versionPatternAll}`)
info(`versions: ${JSON.stringify(versions)}`)
info(`input versionPattern: ${input.versionPattern}`)
if (input.semverPattern) {
return versions.filter((version) => {
return version.names.some((name) => {
Expand Down

0 comments on commit 063f5d1

Please sign in to comment.