Skip to content

Commit 12c0d7f

Browse files
committed
fixup! fs: add c++ fast path for writeFileSync utf8
1 parent fb8e026 commit 12c0d7f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/node_file.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2516,7 +2516,6 @@ static void WriteFileUtf8(const FunctionCallbackInfo<Value>& args) {
25162516

25172517
if (req.result < 0) {
25182518
uv_fs_req_cleanup(&req);
2519-
// req will be cleaned up by scope leave.
25202519
return env->ThrowUVException(req.result, "open", nullptr, path.out());
25212520
}
25222521
}

0 commit comments

Comments
 (0)