Skip to content

Commit

Permalink
fix(npm-dist-tag): Accept opts.log, defaulting to libnpm/log
Browse files Browse the repository at this point in the history
  • Loading branch information
evocateur committed Dec 20, 2018
1 parent d099d13 commit 97edc7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/npm-dist-tag/npm-dist-tag.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use strict";

const log = require("libnpm/log");
const npa = require("libnpm/parse-arg");
const fetch = require("libnpm/fetch");
const figgyPudding = require("figgy-pudding");
Expand All @@ -10,7 +11,7 @@ exports.list = list;

const DistTagConfig = figgyPudding(
{
log: {},
log: { default: log },
spec: {},
tag: {},
},
Expand Down

0 comments on commit 97edc7e

Please sign in to comment.