Skip to content

Commit

Permalink
Housekeeping (#1772)
Browse files Browse the repository at this point in the history
* rimraf was not being used

* one less use of lodash dep

* shorter name variant

* one less lodash fn being used

* use native forEach

* result was a object

* one less lodash recommendation

* more explicit path

* removed a unused variable
  • Loading branch information
jimmywarting committed Dec 2, 2021
1 parent cdfb491 commit 2ee673f
Show file tree
Hide file tree
Showing 7 changed files with 12,255 additions and 76 deletions.
2 changes: 1 addition & 1 deletion lib/seq.js
Expand Up @@ -26,7 +26,7 @@ import { promiseCallback, PROMISE_SYMBOL } from './internal/promiseCallback.js'
* app.get('/cats', function(request, response) {
* var User = request.models.User;
* async.seq(
* _.bind(User.get, User), // 'User.get' has signature (id, callback(err, data))
* User.get.bind(User), // 'User.get' has signature (id, callback(err, data))
* function(user, fn) {
* user.getCats(fn); // 'getCats' has signature (callback(err, data))
* }
Expand Down

0 comments on commit 2ee673f

Please sign in to comment.