Marak / colors.js

get colors in your node.js console
https://github.com/Marak/colors.js
Other
5.17k stars 446 forks source link

Variable expansion stops color #111

Closed dman777 closed 6 years ago

dman777 commented 9 years ago

Not sure if this is breakage or if variable expansion is not included, but:

console.log(colors.magenta("File " + sourceFile + " is new/newer"));

will not color because of the string variable sourceFile

DABH commented 6 years ago

I just tried this using the latest colors and it seems to work fine. Feel free to re-open if you can convince me otherwise. Thanks!