From f8d0fb1f0b09cb02f5b45a37dff7570b02c43100 Mon Sep 17 00:00:00 2001 From: mshanemc Date: Thu, 1 Dec 2022 19:38:02 -0600 Subject: [PATCH] fix: revert previous path change for move --- src/commands/pack/win.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/pack/win.ts b/src/commands/pack/win.ts index 6fd7a6f97..e64389e7a 100644 --- a/src/commands/pack/win.ts +++ b/src/commands/pack/win.ts @@ -249,7 +249,7 @@ the CLI should already exist in a directory named after the CLI that is the root await exec(`makensis ${installerBase}/${config.bin}.nsi | grep -v "\\[compress\\]" | grep -v "^File: Descending to"`) const templateKey = templateShortKey('win32', {bin: config.bin, version: config.version, sha: buildConfig.gitSha, arch}) const o = buildConfig.dist(`win32/${templateKey}`) - await fs.move(path.join(installerBase, 'installer.exe'), path.join(o, 'installer.exe')) + await fs.move(path.join(installerBase, 'installer.exe'), o) const windows = (config.pjson.oclif as any).windows as {name: string; keypath: string; homepage?: string} if (windows && windows.name && windows.keypath) {