不要怂,就是干,撸起袖子干!

Commit bf3be422 by Mick Hansen

Merge pull request #2732 from Domiii/patch-1

Prevent `log` options from being dumped to log
2 parents 7895f286 ebb66ad7
Showing with 3 additions and 0 deletions
......@@ -1056,6 +1056,9 @@ module.exports = (function() {
if (last && Utils._.isPlainObject(last) && last.hasOwnProperty('logging')) {
options = last;
// remove options from set of logged arguments
args.splice(args.length-1, 1);
} else {
options = this.options;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!