Skip to content

Commit

Permalink
Merge 88584c3 into 5c7c61d
Browse files Browse the repository at this point in the history
  • Loading branch information
knalbandianbrightgrove committed Jan 14, 2019
2 parents 5c7c61d + 88584c3 commit 6d87ea5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/common.js
Expand Up @@ -13,9 +13,10 @@ function setup(env) {
createDebug.enabled = enabled;
createDebug.humanize = require('ms');

Object.keys(env).forEach(key => {
for (let i = 0; i < Object.keys(env).length; i++) {
const key = Object.keys(env)[i];
createDebug[key] = env[key];
});
}

/**
* Active `debug` instances.
Expand Down

0 comments on commit 6d87ea5

Please sign in to comment.