Skip to content

Commit

Permalink
Force log colors to remain on
Browse files Browse the repository at this point in the history
  • Loading branch information
xsduan committed Nov 25, 2018
1 parent 800dee3 commit 57ff98e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ npmlog.levels = new Proxy(npmlog.levels, {
npmlog.style = new Proxy(npmlog.style, {
get: (o, k) => o[k] || o.info,
});
npmlog.enableColor();

function splitPrefix(status: string): [string, string] {
const sepIndex = status.indexOf(":");
Expand Down

0 comments on commit 57ff98e

Please sign in to comment.