From a6e945c1cba795bed8c2ab610cb9ea21fd2de8c1 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Sun, 25 Aug 2019 16:59:58 +0200 Subject: [PATCH] Update README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a782fca..edd173e 100644 --- a/README.md +++ b/README.md @@ -155,12 +155,13 @@ Otherwise the following error message will be shown: ## nve(versionRange, args?, options?) _versionRange_: `string`
_args_: `string[]`
_options_: -`object`
_Return value_: `object` +`object`
_Return value_: `Promise` `args` and `options` are the same as in [`child_process.spawn(command, args, options)`](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options). -The return value is an object with the following properties: +The return value is a promise resolving to an object with the following +properties: - `promise`: resolves with [`code`](https://nodejs.org/api/child_process.html#child_process_event_exit)