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

Commit bc88612

Browse files
committed
fix: async lock-mem
1 parent 921f001 commit bc88612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/repo/lock-memory.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const LOCKS = {}
1414
* @param {string} dir
1515
* @returns {Promise<Object>}
1616
*/
17-
exports.lock = function lock (version, dir) {
17+
exports.lock = async function lock (version, dir) { // eslint-disable-line require-await
1818
const file = dir + '/' + lockFile
1919
log('locking %s', file)
2020

0 commit comments

Comments
 (0)