Skip to content

Commit

Permalink
Fix a typo: occured -> occurred
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars committed Mar 30, 2017
1 parent 75cb357 commit 90ff91a
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 90ff91a

Please sign in to comment.