Skip to content

Commit e91034c

Browse files
authoredApr 26, 2022
fs: fix mkdirSync so ENOSPC is correctly reported
Fixes: nodejs#42808 PR-URL: nodejs#42811 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 92f8c03 commit e91034c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/node_file.cc

+1
Original file line numberDiff line numberDiff line change
@@ -1382,6 +1382,7 @@ int MKDirpSync(uv_loop_t* loop,
13821382
}
13831383
break;
13841384
case UV_EACCES:
1385+
case UV_ENOSPC:
13851386
case UV_ENOTDIR:
13861387
case UV_EPERM: {
13871388
return err;

0 commit comments

Comments
 (0)
Please sign in to comment.