Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion rescript
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ function acquireBuild() {
return false;
} else {
try {
fs.openSync(lockFileName, "wx", 0o664);
const fid = fs.openSync(lockFileName, "wx", 0o664);
fs.closeSync(fid);
is_building = true;
} catch (err) {
if (err.code === "EEXIST") {
Expand Down