From 27b96597b5c6f2f0ef516c1a16b43b5cffd89894 Mon Sep 17 00:00:00 2001 From: Steve Mao Date: Wed, 18 Mar 2015 11:52:33 +1100 Subject: [PATCH] There is no default for `callback` Also add a missing semicolon --- Gruntfile.js | 2 +- readme.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index f8b6384..ed748d2 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -22,7 +22,7 @@ module.exports = function (grunt) { if (version) { return 'echo grunt-shell version: ' + version; } else { - return 'echo grunt version: ' + this.version + return 'echo grunt version: ' + this.version; } } }, diff --git a/readme.md b/readme.md index 83d3e50..e3ae250 100644 --- a/readme.md +++ b/readme.md @@ -218,8 +218,7 @@ This sets `stdin` to [act as a raw device](http://nodejs.org/api/tty.html#tty_rs ### callback(err, stdout, stderr, cb) -Type: `function` -Default: `function () {}` +Type: `function` Lets you override the default callback with your own.