From 82145404e47a9bc83992862755d183ba141abaff Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Fri, 22 Apr 2022 12:44:35 +0200 Subject: [PATCH] doc: order `vm.Module` linker arguments correctly PR-URL: https://github.com/nodejs/node/pull/42797 Reviewed-By: Antoine du Hamel Reviewed-By: James M Snell Reviewed-By: Akhil Marsonya --- doc/api/vm.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/vm.md b/doc/api/vm.md index 99a0b8ad068..ec8aa61159a 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -558,6 +558,8 @@ The identifier of the current module, as set in the constructor. // ^^^^^ the module specifier ``` + * `referencingModule` {vm.Module} The `Module` object `link()` is called on. + * `extra` {Object} * `assert` {Object} The data from the assertion: @@ -569,8 +571,6 @@ The identifier of the current module, as set in the constructor. support, as opposed to, for example, triggering an error if an unsupported assertion is present. - * `referencingModule` {vm.Module} The `Module` object `link()` is called on. - * Returns: {vm.Module|Promise} * Returns: {Promise}