Skip to content

Commit 2fee6e7

Browse files
feelepxyzljharb
andauthored
Update lib/commands/audit.js
Co-authored-by: Jordan Harband <[email protected]>
1 parent 3af501d commit 2fee6e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/commands/audit.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ class VerifySignatures {
201201

202202
buildRegistryConfig (registry) {
203203
const keys = this.keys.get(registry) || []
204-
const registryConfig = {}
205204
const parsedRegistry = new URL(registry)
206205
const regKey = `//${parsedRegistry.host}${parsedRegistry.pathname}`
207-
registryConfig[`${regKey}:_keys`] = keys
208-
return registryConfig
206+
return {
207+
`${regKey}:_keys`: keys
208+
}
209209
}
210210

211211
getSpecRegistry (spec) {

0 commit comments

Comments
 (0)