From b4941cfaec42244803d03189e2ed94b2b34655e2 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 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/api/module.md b/doc/api/module.md index 89202038d7c10f..d0d454ba697149 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`