Skip to content

Commit c26eb29

Browse files
committed
Fix eslint error
1 parent 7d878ec commit c26eb29

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

lib/commands/audit.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,6 @@ class VerifySignatures {
228228

229229
const registry = fetch.pickRegistry(spec, this.npm.flatOptions)
230230
const keys = this.keys.get(registry) || []
231-
const validKeys = keys.filter((publicKey) => {
232-
if (!publicKey.expires) {
233-
return true
234-
}
235-
return Date.parse(publicKey.expires) > Date.now()
236-
})
237231

238232
try {
239233
const registryConfig = {}

0 commit comments

Comments
 (0)