@trenskow/arguments-parser 0.3.116 → 0.3.118
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/.vscode/settings.json
CHANGED
|
@@ -176,8 +176,8 @@ const argumentsParser = (output) => {
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
if (schemas[idx].type === String && !schemas[idx].autocomplete) {
|
|
179
|
-
return buildIns.files(
|
|
180
|
-
current)
|
|
179
|
+
return (await buildIns.files(
|
|
180
|
+
current))
|
|
181
181
|
.filter((item) => key !== item && item.startsWith(current));
|
|
182
182
|
}
|
|
183
183
|
|
|
@@ -231,7 +231,7 @@ const argumentsParser = (output) => {
|
|
|
231
231
|
await complete(-1));
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
for (idx = 0
|
|
234
|
+
for (idx = 0; idx < args.length; idx++) {
|
|
235
235
|
|
|
236
236
|
if (!schemas[idx]) {
|
|
237
237
|
|