Skip to content

Commit 3ce187a

Browse files
author
Mert Can Altin
committed
doc: updated fs.ftruncate() docs to reflect mandatory callback parameter
1 parent df9cb97 commit 3ce187a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/fs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3029,7 +3029,7 @@ changes:
30293029
30303030
* `fd` {integer}
30313031
* `len` {integer} **Default:** `0`
3032-
* `callback` {Function}
3032+
* `callback` {Function} (**Required**)
30333033
* `err` {Error}
30343034
30353035
Truncates the file descriptor. No arguments other than a possible exception are

0 commit comments

Comments
 (0)