roxify 1.16.12 → 1.16.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +8 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -21,7 +21,7 @@ async function loadJsEngine() {
|
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
// Keep in sync with package.json#version.
|
|
24
|
-
const VERSION = '1.16.
|
|
24
|
+
const VERSION = '1.16.13';
|
|
25
25
|
function getDirectorySize(dirPath) {
|
|
26
26
|
let totalSize = 0;
|
|
27
27
|
try {
|
|
@@ -186,8 +186,13 @@ function parseArgs(args) {
|
|
|
186
186
|
i += 2;
|
|
187
187
|
}
|
|
188
188
|
else if (key === 'files') {
|
|
189
|
-
|
|
190
|
-
|
|
189
|
+
if (i + 1 < args.length && !args[i + 1].startsWith('-')) {
|
|
190
|
+
parsed.files = args[i + 1].split(',');
|
|
191
|
+
i += 2;
|
|
192
|
+
}
|
|
193
|
+
else {
|
|
194
|
+
i++;
|
|
195
|
+
}
|
|
191
196
|
}
|
|
192
197
|
else if (key === 'dict') {
|
|
193
198
|
parsed.dict = args[i + 1];
|
package/package.json
CHANGED