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 845ddaa commit b7b16d8Copy full SHA for b7b16d8
.ci/make.mjs
@@ -28,6 +28,11 @@ import assert from 'assert'
28
import { join } from 'desm'
29
import semver from 'semver'
30
31
+// xz/globals loads minimist-parsed args as a global `argv`, but it
32
+// interprets args like '8.10' as numbers and shortens them to '8.1'.
33
+// so we have to import and configure minimist ourselves.
34
+import minimist from 'minimist'
35
+const argv = minimist(process.argv.slice(2), { string: ['_', 'task'] })
36
assert(typeof argv.task === 'string', 'Missing task parameter')
37
38
switch (argv.task) {
0 commit comments