Skip to content

Update head-formatter.js#10

Open
numso wants to merge 25 commits intoMechanicalHuman:masterfrom
numso:patch-1
Open

Update head-formatter.js#10
numso wants to merge 25 commits intoMechanicalHuman:masterfrom
numso:patch-1

Conversation

@numso
Copy link
Copy Markdown

@numso numso commented Aug 5, 2020

I'm seeing some weird behavior where my messages get output twice. For example, when trying to log out "Starting server" I instead see "Starting server 0 Starting server". Looks like messages.map(white) is the problem. It is the equivalent of writing messages.map((item, index, array) => white(item, index, array)) where instead we just want to be colorizing the item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants