sindresorhus / gulp-size

Display the size of your project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why is title automatically quoted?

fregante opened this issue · comments

Can this line

title = title ? ('\'' + chalk.cyan(title) + '\' ') : '';

be replaced with this one?

title = title ? chalk.cyan(title) : '';

I think I did it so it's clear what's what when colors are not supported. Not sure whether that makes sense though.

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.

If you care enough do a PR removing the quotes, I'll accept.

Cool! I'll do in half a day, hopefully.