Skip to content

Commit 27b9659

Browse files
author
Steve Mao
committed
There is no default for callback
Also add a missing semicolon
1 parent e25871a commit 27b9659

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = function (grunt) {
2222
if (version) {
2323
return 'echo grunt-shell version: ' + version;
2424
} else {
25-
return 'echo grunt version: ' + this.version
25+
return 'echo grunt version: ' + this.version;
2626
}
2727
}
2828
},

readme.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,7 @@ This sets `stdin` to [act as a raw device](http://nodejs.org/api/tty.html#tty_rs
218218

219219
### callback(err, stdout, stderr, cb)
220220

221-
Type: `function`
222-
Default: `function () {}`
221+
Type: `function`
223222

224223
Lets you override the default callback with your own.
225224

0 commit comments

Comments
 (0)