Skip to content

Commit f56aea3

Browse files
hugomrdiasjacobheun
authored andcommittedDec 13, 2018
fix: fix repo lock and buffer api (#185)
* fix: log the error * fix: add catch again
1 parent 3a1816f commit f56aea3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/lock.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ exports.lock = (dir, callback) => {
3838
.catch(err => cb(err))
3939
}
4040
})
41+
}, callback)
42+
.catch(err => {
43+
log(err)
4144
})
42-
.catch(err => callback(err))
Has conversations. Original line has conversations.
4345
}

0 commit comments

Comments
 (0)
Please sign in to comment.