Skip to content

Commit

Permalink
fix(docs): Update readme with next callback in async function
Browse files Browse the repository at this point in the history
  • Loading branch information
okorolko authored and wesleytodd committed Jun 29, 2020
1 parent b01061e commit 8e7a496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module.exports.down = function (next) {
}
```

All you have to do is populate these, invoking `next()` when complete, and you are ready to migrate!
All you have to do is populate these, invoking `next()` when complete (no need to call `next()` if up/down functions are `async`), and you are ready to migrate!

For example:

Expand Down

0 comments on commit 8e7a496

Please sign in to comment.