Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit f4fab25

Browse files
committed
Update migrate/revert functions signature in templates
1 parent 94cdc7a commit f4fab25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/migration-templates.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
const Datastore = require('datastore-fs')
2626
const log = require('debug')('jsipfs-repo-migrations:migration-{{version}}')
2727
28-
async function migrate(repoPath, isBrowser) {
28+
async function migrate(repoPath, options, isBrowser) {
2929
const store = new Datastore(repoPath, {extension: '', createIfMissing: false})
3030
store.open()
3131
@@ -36,7 +36,7 @@ async function migrate(repoPath, isBrowser) {
3636
}
3737
}
3838
39-
async function revert(repoPath, isBrowser) {
39+
async function revert(repoPath, options, isBrowser) {
4040
const store = new Datastore(repoPath, {extension: '', createIfMissing: false})
4141
store.open()
4242

0 commit comments

Comments
 (0)