Skip to content

Commit

Permalink
fix: seed from file variable name was misspelled (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgee authored Mar 27, 2019
1 parent faec5e3 commit 6109c95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cluster/src/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const downloadDatabase = async ({ cache, path, v, update, url }) => {
v
)}, use --update to re-download`
)
dbFile = cache.getCacheLocation(cacheName)
return cache.getCacheLocation(cacheName)
} else {
const dbUrl = url.replace(/{version}/g, v)
reporter.info(
Expand All @@ -36,7 +36,7 @@ const downloadDatabase = async ({ cache, path, v, update, url }) => {
}
}

const seedFromFile = async ({ cacheLocation, file, v }) => {
const seedFromFile = async ({ cacheLocation, dbFile, v }) => {
reporter.info(`Seeding database (this may take some time)...`)
reporter.debug(`Seeding from database dump ${chalk.bold(dbFile)}`)

Expand Down

0 comments on commit 6109c95

Please sign in to comment.