pre: function(result) { // Concatenate uncolored result onto actual. actual += grunt.log.uncolor(result); // Prevent the original process.stdout.write from executing. return hooker.preempt(); }
}], function(creds) { grunt.log.ok('Saving credentials to', CREDENTIALS_FILE); grunt.file.write(CREDENTIALS_FILE, JSON.stringify(creds)); callback(null, creds); });
.map(function (file) { grunt.log.ok('Busted:', file); return path.resolve((originalConfig.cwd ? originalConfig.cwd + path.sep : '') + file); });
pre: function(result) { actual += grunt.log.uncolor(result); return grunt.util.hooker.preempt(); }
finish: function(files) { if(this.succeeded) { // Print a success message. grunt.log.ok(files.length + ' files lint free.'); } },
travisFoldEnd: function (msg) { if (!msg) { return; } grunt.log.writeln('travis_fold:end:' + msg); }
travisFoldStart: function (msg) { if (!msg) { return; } grunt.log.writeln('travis_fold:start:' + msg); },
env.addGlobal('warn', function (...input) { log.error(...input, `[${this.ctx.PAGE.props.url}]`) })