From 5f51fcb93954cc35775952d80b6e30038aee7725 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 6 Sep 2020 15:33:16 -0700 Subject: [PATCH] doc: make minor improvements to module.md * sort references in ASCII order * replace abbreviation * split comma splice into two sentences and add appropriate punctuation * replace future tense with present tense PR-URL: https://github.com/nodejs/node/pull/35083 Reviewed-By: Geoffrey Booth Reviewed-By: Derek Lewis Reviewed-By: Daijiro Wachi --- doc/api/module.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/api/module.md b/doc/api/module.md index 383e7214b295ae..797c50b9d6e6b5 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -150,10 +150,10 @@ added: should be fetched. The `error` instance should be passed as the second parameter to `findSourceMap` -in exceptional flows, e.g., when an overridden +in exceptional flows, such as when an overridden [`Error.prepareStackTrace(error, trace)`][] is invoked. Modules are not added to -the module cache until they are successfully loaded, in these cases source maps -will be associated with the `error` instance along with the `path`. +the module cache until they are successfully loaded. In these cases, source maps +are associated with the `error` instance along with the `path`. ### Class: `module.SourceMap`