@lotics/cli 0.4.0 → 0.5.0
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/src/cli.js +3 -2
- package/package.json +1 -1
package/dist/src/cli.js
CHANGED
|
@@ -359,8 +359,9 @@ async function main() {
|
|
|
359
359
|
console.log(JSON.stringify({ files: upload.files, errors: upload.errors }, null, 2));
|
|
360
360
|
}
|
|
361
361
|
else {
|
|
362
|
-
for (
|
|
363
|
-
|
|
362
|
+
for (let i = 0; i < upload.files.length; i++) {
|
|
363
|
+
const file = upload.files[i];
|
|
364
|
+
console.log(`[${i + 1}] ${file.id} ${file.filename} ${file.mime_type}`);
|
|
364
365
|
}
|
|
365
366
|
for (const error of upload.errors) {
|
|
366
367
|
console.error(`FAILED ${error.filename} ${error.error}`);
|