doc: fix format in esm.md

PR-URL: https://github.com/nodejs/node/pull/53170
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Pop Moore 2024-05-28 01:51:10 +08:00 committed by GitHub
parent 33d4f29911
commit 72a4470688
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -366,9 +366,9 @@ added:
> Stability: 1.2 - Release candidate
* {string} The full absolute path and filename of the current module, with
* symlinks resolved.
symlinks resolved.
* This is the same as the [`url.fileURLToPath()`][] of the
* [`import.meta.url`][].
[`import.meta.url`][].
> **Caveat** only local modules support this property. Modules not using the
> `file:` protocol will not provide it.