aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rwxr-xr-xcmd/main.js2
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);
}