karma-runner / grunt-karma

Grunt plugin for Karma.
MIT License
468 stars 117 forks source link

Loading `grunt-karma` npm task breaks grunt.log.subhead #195

Open beebs93 opened 8 years ago

beebs93 commented 8 years ago
beebs93 commented 8 years ago

It looks like it's not specifically grunt.log.subhead, but any method/manual attempt to reference the .bold property on strings.

// Gruntfile.js
var outputString = 'Foobar';

process.stdout.write("\n" + outputString.green + "\n"); // Outputs correctly to the log
process.stdout.write("\n" + outputString.green.bold + "\n"); // Does NOT output correctly to the log
process.stdout.write("\n" + outputString.bold + "\n"); // Does NOT output correctly to the log
beebs93 commented 7 years ago

Hi there - just checking if there have been any updates on this issue.

Krinkle commented 6 years ago

@beebs93 Can you also produce this issue in an empty directory with just a package.json and Gruntfile.js files where grunt-karma, karma and grunt are installed?

Also, which version of Node.js are you currently using?