Skip to content

Commit

Permalink
Remove ping debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Apr 11, 2024
1 parent 7b37a94 commit 8791b08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/commands/ping.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ class Ping extends BaseCommand {
const cleanRegistry = cleanUrl(this.npm.config.get('registry'))
log.notice('PING', cleanRegistry)
const start = Date.now()
let details = await pingUtil({ ...this.npm.flatOptions })
details = { a: 1, b: 2 }
const details = await pingUtil({ ...this.npm.flatOptions })
const time = Date.now() - start
log.notice('PONG', `${time}ms`)
if (this.npm.config.get('json')) {
Expand Down

0 comments on commit 8791b08

Please sign in to comment.