Update: 更新ampy

This commit is contained in:
王立帮
2024-08-17 23:59:17 +08:00
parent 29f15dd7d4
commit edce8ed5bc
8 changed files with 46 additions and 34 deletions

View File

@@ -170,7 +170,7 @@ class AmpyFS extends FS {
}
async readDirectory(folderPath) {
let stdout = '', error = null, ampy = null;
let stdout = [], error = null, ampy = null;
try {
ampy = await this.getAmpy();
await ampy.enter();