From e2c3e4727d5899a709f5c421e128a4af2ef626f3 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Fri, 21 Apr 2017 17:38:31 +0300 Subject: doc: conform to rules for eslint-plugin-markdown PR-URL: https://github.com/nodejs/node/pull/12563 Refs: https://github.com/nodejs/node/pull/12557#issuecomment-296015032 Reviewed-By: Teddy Katz Reviewed-By: James M Snell Reviewed-By: Timothy Gu Reviewed-By: Gibson Fahnestock Reviewed-By: Yuta Hiroto --- doc/api/modules.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/api/modules.md') diff --git a/doc/api/modules.md b/doc/api/modules.md index d40f25d0a9..48a4d1f3cf 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -70,7 +70,7 @@ When a file is run directly from Node.js, `require.main` is set to its directly by testing ```js -require.main === module +require.main === module; ``` For a file `foo.js`, this will be `true` if run via `node foo.js`, but @@ -441,7 +441,7 @@ Before a module's code is executed, Node.js will wrap it with a function wrapper that looks like the following: ```js -(function (exports, require, module, __filename, __dirname) { +(function(exports, require, module, __filename, __dirname) { // Your module code actually lives in here }); ``` -- cgit v1.2.3