Skip to content

Commit

Permalink
Fix more typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
satazor committed Jan 26, 2013
1 parent 0500ffd commit 67213f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -66,7 +66,7 @@ promptly.prompt('Name: ', { validator: validator }, function (err, value) {
if (err) {
console.error('Invalid name');
// Manually call retry
// The passed errors have a retry method to easily prompt again.
// The passed error have a retry method to easily prompt again.
err.retry();
}

Expand All @@ -86,7 +86,7 @@ var validator = function (value) {
}

promptly.prompt('Name: ', { validator: validator , retry: true}, function (err, value) {
// err is always null because the promptly will keep asking for a name until it validates
// err is always null because promptly will prompting for a name until it validates
console.log('Name is: ', value);
});
```
Expand Down

0 comments on commit 67213f1

Please sign in to comment.