Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: dont fail on uninitialized repo (#1374)
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov authored and alanshaw committed Jun 1, 2018
1 parent 61ba99e commit 6f0a95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/components/repo.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = function repo (self) {
const match = [
/Key not found in database \[\/version\]/,
/ENOENT/,
/not yet initialized/
/repo is not initialized yet/
].some((m) => {
return m.test(err.message)
})
Expand Down

0 comments on commit 6f0a95b

Please sign in to comment.