Skip to content

Commit

Permalink
Merge pull request #101 from ivandotv/refactor-safe-method
Browse files Browse the repository at this point in the history
Refactor _validate method to use default parameter for 'safe'
  • Loading branch information
ivandotv authored Oct 23, 2024
2 parents 020d2a9 + c6d522f commit 6e1996b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pumpit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ export class PumpIt {
return result
}

protected _validate(safe: boolean) {
protected _validate(safe = false) {
const seen = new Set()
const wantedBy = new Map()

Expand Down

0 comments on commit 6e1996b

Please sign in to comment.