Added proper support for multiple arguments

This commit is contained in:
Borales
2022-12-05 21:31:43 +01:00
parent d8b5ea8c26
commit 97ba8bebfe
5 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.run = void 0;
const exec_1 = __nccwpck_require__(514);
const run = (cmd, { cwd }) => __awaiter(void 0, void 0, void 0, function* () {
yield (0, exec_1.exec)('yarn', [cmd], { cwd });
yield (0, exec_1.exec)('yarn', cmd.split(' '), { cwd });
});
exports.run = run;