Why is title automatically quoted?
fregante opened this issue · comments
Federico Brigante commented
Can this line
title = title ? ('\'' + chalk.cyan(title) + '\' ') : '';
be replaced with this one?
title = title ? chalk.cyan(title) : '';
Sindre Sorhus commented
I think I did it so it's clear what's what when colors are not supported. Not sure whether that makes sense though.
Federico Brigante commented
It does make sense… but it's also a bit annoying when you don't want that. For now I got around it by overriding the logging utility.
Sindre Sorhus commented
If you care enough do a PR removing the quotes, I'll accept.
Federico Brigante commented
Cool! I'll do in half a day, hopefully.