From 6999de1d6f3ed567c49930896f110d0e54457b62 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 bc2e520f38f300..aa99c8430767a0 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -560,6 +560,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: @@ -571,8 +573,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}