diff options
author | Michael Perrotte <mike@npmjs.com> | 2020-03-05 06:55:56 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2020-05-08 04:12:27 +0300 |
commit | b1d6cdd55ddc843ac0268c461cecf0a47f3d2295 (patch) | |
tree | 6127c37c0fc418a9fd9f703232433c3a528c8a17 /lib | |
parent | abb8f91e5b35cf3e97c2aa92df9db3fe3263a2c1 (diff) |
fix: lining; removal of BB remnant
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fund.js | 8 | ||||
-rw-r--r-- | lib/ping.js | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/fund.js b/lib/fund.js index eaa43f3a0..6a7ad19ed 100644 --- a/lib/fund.js +++ b/lib/fund.js @@ -3,18 +3,20 @@ const path = require('path') const archy = require('archy') -const figgyPudding = require('figgy-pudding') const readPackageTree = require('read-package-tree') const npm = require('./npm.js') -const npmConfig = require('./config/figgy-config.js') const fetchPackageMetadata = require('./fetch-package-metadata.js') const computeMetadata = require('./install/deps.js').computeMetadata const readShrinkwrap = require('./install/read-shrinkwrap.js') const mutateIntoLogicalTree = require('./install/mutate-into-logical-tree.js') const output = require('./utils/output.js') const openUrl = require('./utils/open-url.js') -const { getFundingInfo, retrieveFunding, validFundingUrl } = require('./utils/funding.js') +const { + getFundingInfo, + retrieveFunding, + validFundingUrl +} = require('./utils/funding.js') module.exports = fundCmd diff --git a/lib/ping.js b/lib/ping.js index b067beee9..a1c470365 100644 --- a/lib/ping.js +++ b/lib/ping.js @@ -36,5 +36,5 @@ function ping (args, silent, cb) { log.notice('PONG', `${JSON.stringify(details, null, 2)}`) } } - }).nodeify(cb) + }).then(() => cb(), cb) } |