Skip to content

Commit 31bbd03

Browse files
committed
update
1 parent cfc2cc1 commit 31bbd03

3 files changed

Lines changed: 14 additions & 0 deletions

File tree

app/app-filemeta.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ async function showMeta(rPath, pathData){
8989
getMeta = await app.getFileMeta(fileList);
9090
}
9191

92+
if(getMeta.errno){
93+
console.log(`:: Failed to Get Data...`);
94+
console.log(`:: ERROR #${getMeta.errno}`);
95+
return;
96+
}
97+
9298
for(const f of getMeta.info){
9399
if(f.isdir == 1){
94100
continue;

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919
"license": "MIT",
2020
"description": "NodeJS tool for interacting with the TeraBox cloud service without the need to use the website or app ☁️",
2121
"dependencies": {
22+
"filesize": "^10.1.6",
2223
"qrcode-terminal": "^0.12.0",
2324
"terabox-api": "^1.0.5",
25+
"undici": "^7.8.0",
2426
"yargs": "^17.7.2"
2527
}
2628
}

pnpm-lock.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)