We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49b6393 commit e9c79daCopy full SHA for e9c79da
measure/scripts/downloadPublishedVersion.js
@@ -8,6 +8,9 @@ const distDir = `${scriptDir}/../../dist`;
8
run();
9
10
function run() {
11
+ if (!version) {
12
+ throw new Error(`usage: npm run downloadPublishedVersion 224109`)
13
+ }
14
const url = exec.execSyncRead(`npm view jsc-android@${version} dist.tarball`);
15
exec.execSync(`curl ${url} | tar -xf -`);
16
exec.execSync(`rm -rf ${distDir}`);
0 commit comments