Skip to content

Commit

Permalink
fs: fix mkdirSync so ENOSPC is correctly reported
Browse files Browse the repository at this point in the history
Fixes: nodejs/node#42808

PR-URL: nodejs/node#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]>
  • Loading branch information
santigimeno authored and guangwong committed Oct 10, 2022
1 parent 86722bd commit f6bcb64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1382,6 +1382,7 @@ int MKDirpSync(uv_loop_t* loop,
}
break;
case UV_EACCES:
case UV_ENOSPC:
case UV_ENOTDIR:
case UV_EPERM: {
return err;
Expand Down

0 comments on commit f6bcb64

Please sign in to comment.