Skip to content

Commit

Permalink
doc: fix arg definition in fs
Browse files Browse the repository at this point in the history
Currently doc building doesn't support ES-style default params in
function definitions which causes an error.

PR-URL: #18678
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Gus Caplan <me@gus.host>
  • Loading branch information
apapirovski committed Feb 9, 2018
1 parent eacc88c commit dbd1d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3388,7 +3388,7 @@ added: REPLACEME
Asynchronous fsync(2). The `Promise` is resolved with no arguments upon
success.

#### filehandle.truncate(len = 0)
#### filehandle.truncate(len)
<!-- YAML
added: REPLACEME
-->
Expand Down

0 comments on commit dbd1d1d

Please sign in to comment.