Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jan 25, 2013
1 parent a8f4334 commit 4c79783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lockfile.js
Expand Up @@ -166,8 +166,8 @@ exports.lock = function (path, opts, cb) {
}

function notStale (er, path, opts, cb) {
// if we can't wait, then just call it a failure
if (typeof opts.wait !== 'number' || opts.wait <= 0)
// failed to lock!
return cb(er)

// wait for some ms for the lock to clear
Expand Down

0 comments on commit 4c79783

Please sign in to comment.