From 463ac78b95417c8d525d74e42608c3e78368fc0e Mon Sep 17 00:00:00 2001 From: David Murdoch <187813+davidmurdoch@users.noreply.github.com> Date: Sun, 24 Mar 2024 15:03:21 -0400 Subject: [PATCH] refactor: fix return type in development's `runCommand` function --- development/lib/run-command.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/lib/run-command.js b/development/lib/run-command.js index e7f70a0ee130..fab1eca361d4 100644 --- a/development/lib/run-command.js +++ b/development/lib/run-command.js @@ -14,7 +14,7 @@ const spawn = require('cross-spawn'); * * @param {string} command - The command to run * @param {Array} [args] - The arguments to pass to the command - * @returns {Array} Lines of output received via STDOUT + * @returns {Promise>} Lines of output received via STDOUT */ async function runCommand(command, args) { const output = [];