Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit ebb1489

Browse files
lopezacovflowd
andauthored
Add import to node-writing-files.en.md (#2730)
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
1 parent b4261c9 commit ebb1489

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

content/learn/node-writing-files.en.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ The flags you'll likely use are
7676
A handy method to append content to the end of a file is `fs.appendFile()` (and its `fs.appendFileSync()` counterpart):
7777

7878
```js
79+
const fs = require('fs');
80+
7981
const content = 'Some content!';
8082

8183
fs.appendFile('file.log', content, err => {

0 commit comments

Comments
 (0)