From c0c23fbe422a6eccab66b12eacbf0a758011849a Mon Sep 17 00:00:00 2001 From: Daeyeon Jeong Date: Mon, 24 Apr 2023 16:36:53 +0900 Subject: [PATCH] doc: fix a typo in `fs.openAsBlob` Signed-off-by: Daeyeon Jeong PR-URL: https://github.com/nodejs/node/pull/47693 Reviewed-By: Darshan Sen Reviewed-By: Luigi Pinca Reviewed-By: Benjamin Gruenbaum --- doc/api/fs.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index 0623e1c5a9dacf..a4efd37018c413 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -3383,10 +3383,9 @@ added: v19.8.0 Returns a {Blob} whose data is backed by the given file. The file must not be modified after the {Blob} is created. Any modifications -will cause reading the {Blob} data to fail with a `DOMException`. -error. Synchronous stat operations on the file when the `Blob` is created, and -before each read in order to detect whether the file data has been modified -on disk. +will cause reading the {Blob} data to fail with a `DOMException` error. +Synchronous stat operations on the file when the `Blob` is created, and before +each read in order to detect whether the file data has been modified on disk. ```mjs import { openAsBlob } from 'node:fs';