diff --git a/index.js b/index.js index cdf6e2a..5aabe19 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,7 @@ async function downloadRelease(octokit, os, org, repo, release, token) { // Ensure the that the install target exists console.log("Preparing install target...") - fs.mkdirSync(binpath) + fs.mkdirSync(binpath, { recursive: true }) // Extract the archive into the install target console.log("Unpacking archive file...")