Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1b478bb

Browse files
authored
Merge pull request #1 from akashraghav/bugfix/cookie-login
bug fix - combined mapped arg with blank string
2 parents 5245886 + 234f67e commit 1b478bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/log.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ log.init = function() {
5252
const args = Array.from(arguments);
5353
if (name !== 'INFO') args.unshift('[' + name + ']');
5454

55-
let s = args.map(x => x.toString()).join(' ');
55+
let s = args.map(x => ('' + x.toString())).join(' ');
5656
if (level.color) s = chalk[level.color](s);
5757

5858
this.output(s);

0 commit comments

Comments
 (0)