Commit 9fc30d3a authored by 神楽坂玲奈's avatar 神楽坂玲奈

log

parent f33afed7
{ {
"name": "mycard-mobile", "name": "mycard-mobile",
"version": "1.0.39", "version": "1.0.40",
"license": "UNLISENCED", "license": "UNLISENCED",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
......
...@@ -91,7 +91,7 @@ export class StorageService { ...@@ -91,7 +91,7 @@ export class StorageService {
} }
} }
console.log('远端文件扫描完毕', this.local_files()); // console.log('远端文件扫描完毕', this.local_files());
for (const local_path of this.local_files()) { for (const local_path of this.local_files()) {
const remote_path = path.join(root, local_path); const remote_path = path.join(root, local_path);
...@@ -178,7 +178,7 @@ export class StorageService { ...@@ -178,7 +178,7 @@ export class StorageService {
async *walk(dir: string): AsyncIterable<Stats> { async *walk(dir: string): AsyncIterable<Stats> {
const items: Stats[] = await this.client.getDirectoryContents(dir); const items: Stats[] = await this.client.getDirectoryContents(dir);
console.log('取远端目录', dir, items); // console.log('取远端目录', dir, items);
for (const item of items) { for (const item of items) {
if (item.type === 'directory') { if (item.type === 'directory') {
yield* this.walk(item.filename); yield* this.walk(item.filename);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment