Skip to content

doc: update behaviour of fs.writeFile

As per the decision in https://github.com/nodejs/node/issues/23433, the fs.writeFile will always write from the current position if it is used with file descriptors. This patch updates it.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

cc @nodejs/fs @nodejs/tsc

Merge request reports

Loading