Skip to content

Commit

Permalink
There is no default for callback
Browse files Browse the repository at this point in the history
Also add a missing semicolon
  • Loading branch information
Steve Mao committed Mar 18, 2015
1 parent e25871a commit 27b9659
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
},
Expand Down
3 changes: 1 addition & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 27b9659

Please sign in to comment.