Skip to content

Commit

Permalink
Merge pull request #1392 from felixonmars/fix-typo
Browse files Browse the repository at this point in the history
Fix a typo: occured -> occurred
  • Loading branch information
megawac committed Mar 30, 2017
2 parents 75cb357 + 90ff91a commit 66b3c72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/doDuring.js
Expand Up @@ -21,7 +21,7 @@ import onlyOnce from './internal/onlyOnce';
* non-error args from the previous callback of `fn`.
* @param {Function} [callback] - A callback which is called after the test
* function has failed and repeated execution of `fn` has stopped. `callback`
* will be passed an error if one occured, otherwise `null`.
* will be passed an error if one occurred, otherwise `null`.
*/
export default function doDuring(fn, test, callback) {
callback = onlyOnce(callback || noop);
Expand Down
2 changes: 1 addition & 1 deletion lib/during.js
Expand Up @@ -20,7 +20,7 @@ import onlyOnce from './internal/onlyOnce';
* completed with an optional `err` argument. Invoked with (callback).
* @param {Function} [callback] - A callback which is called after the test
* function has failed and repeated execution of `fn` has stopped. `callback`
* will be passed an error, if one occured, otherwise `null`.
* will be passed an error, if one occurred, otherwise `null`.
* @example
*
* var count = 0;
Expand Down

0 comments on commit 66b3c72

Please sign in to comment.