Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Commit

Permalink
fix(team): fix up config stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Nov 29, 2018
1 parent 69312aa commit 9917fe5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/commands/team.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* eslint-disable standard/no-callback-literal */

const figgyPudding = require('figgy-pudding')
const log = require('npmlog')
const npmConfig = require('../config.js')

const Team = module.exports = {
Expand Down Expand Up @@ -122,7 +121,7 @@ const TeamConfig = figgyPudding({
registry: {}
})

const getOpts = (argv) => TeamConfig(npmConfig().concat(argv).concat({ log }))
const getOpts = (argv) => TeamConfig(npmConfig(argv))

const logError = (err) => console.log(`Error code: ${err.code} => ${err.message}`)

Expand Down

0 comments on commit 9917fe5

Please sign in to comment.