Skip to content

Commit

Permalink
improved error message
Browse files Browse the repository at this point in the history
  • Loading branch information
steefmin authored Oct 3, 2018
1 parent e504dfa commit 957e210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports = (store) => {
const compatibleVersion = (version === 6 && expected === 7) || (expected === 6 && version === 7)

if (version !== expected && !compatibleVersion) {
return callback(new Error(`version mismatch: expected v${expected}, found v${version}`))
return callback(new Error(`repository version mismatch: expected v${expected}, found v${version}`))
}
callback()
})
Expand Down

0 comments on commit 957e210

Please sign in to comment.