From b43a2248cc50821534eba134c362a8e51f2002d3 Mon Sep 17 00:00:00 2001 From: Volodymyr Zotov Date: Tue, 16 Dec 2025 12:05:07 -0600 Subject: [PATCH] Make latest build --- dist/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index b5fdf1b..9444841 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33484,7 +33484,7 @@ var external_util_ = __nccwpck_require__(9023); -const execAsync = (0,external_util_.promisify)(external_child_process_.exec); +const execFileAsync = (0,external_util_.promisify)(external_child_process_.execFile); class MacOsInstaller extends CliInstaller { platform = "darwin"; // Node.js platform identifier for macOS constructor(version) { @@ -33501,7 +33501,7 @@ class MacOsInstaller extends CliInstaller { const pkgWithExtension = `${pkgPath}.pkg`; external_fs_.renameSync(pkgPath, pkgWithExtension); const expandDir = "temp-pkg"; - await execAsync(`pkgutil --expand "${pkgWithExtension}" "${expandDir}"`); + await execFileAsync("pkgutil", ["--expand", pkgWithExtension, expandDir]); const payloadPath = external_path_.join(expandDir, "op.pkg", "Payload"); console.info("Installing 1Password CLI"); const cliPath = await tool_cache.extractTar(payloadPath);