diff --git a/index.js b/index.js index 0d59f0f..a57311f 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,7 @@ async function downloadRelease(octokit, os, org, repo, release, token) { // Extract the archive into the install target console.log("Unpacking archive file...") - execSync(`${extract} "${archive}" -C "${binpath}"`) + execSync(`${extract} -C "${binpath}" "${archive}"`) // Remove the downloaded asset archive console.log("Removing asset archive...")