List files in current directory

Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
This commit is contained in:
Yuri Norwood 2022-11-07 13:23:19 +13:00 committed by GitHub
parent 1de8b12016
commit f6d688bee8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
});