Skip to content

Commit c32cc34

Browse files
committed
Fix lock not acquired in one-shot build command.
1 parent ab708ab commit c32cc34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rescript

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ if (
302302
* @type {child_process.ChildProcess}
303303
*/
304304
var p;
305-
if (acquireBuild) {
305+
if (acquireBuild()) {
306306
try {
307307
p = child_process.spawn(rescript_exe, delegate_args, { stdio: "inherit" });
308308
LAST_BUILD_START = +Date.now();

0 commit comments

Comments
 (0)