diff options
-rwxr-xr-x | cmd/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/main.js b/cmd/main.js index b71bbed..43059ad 100755 --- a/cmd/main.js +++ b/cmd/main.js @@ -97,7 +97,7 @@ function processArchive(url) { try { exec(`curl -LsSf -o '${file}' '${url}'`); sha256 = getSHA256(file); - pkg = JSON.parse(exec(`tar -xOf '${file}' --wildcards '*/package.json'`)); + pkg = JSON.parse(exec(`tar -xOf '${file}' --wildcards --no-wildcards-match-slash '*/package.json'`)); } finally { rmTree(dir); } |