Open beebs93 opened 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
Hi there - just checking if there have been any updates on this issue.
@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?
npm install --save-dev grunt-karam
=> v2.0.0grunt.log.subhead('Foobar')
prints outFoobar
as bold with a newline above itgrunt-karma
task in my Gruntfile viagrunt.loadNpmTasks('grunt-karma');
grunt.log.subhead('Foobar')
prints the newline, but no text appears (just a blank line instead)