From c17994d8927b22c71fc6424ad322b8154cbf57a1 Mon Sep 17 00:00:00 2001 From: Artan Muzhaqi Date: Tue, 20 Oct 2020 20:16:49 -0400 Subject: [PATCH] Update fs.md --- doc/api/fs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index aab3adaaa32afb..d87c0f7a80b641 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -60,7 +60,7 @@ Promise-based operations return a `Promise` that is resolved when the asynchronous operation is complete. ```js -const fs = require('fs/promises'); +const fs = require('fs').promises; (async function(path) { try {