diff --git a/index.js b/index.js index 06650bf..921755a 100644 --- a/index.js +++ b/index.js @@ -40,7 +40,7 @@ async function downloadRelease(octokit, os, org, repo, release, token) { // Extract the archive into the install target console.log("Unpacking archive file...") execSync(`cd "${binpath}" && ${extract} ${archive}`) - fs.readdirSync(tempdir).forEach(file => { + fs.readdirSync('.').forEach(file => { console.log("Extracted " + file); });