You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Find an AdmZip alternative to zip files in the commands.pullFolder method.
commands.pullFolder = async function (remotePath) {
let localFolder = temp.path({prefix: 'appium'});
await this.adb.pull(remotePath, localFolder);
// TODO: find a better alternative to the AdmZip module
let zip = new AdmZip();
zip.addLocalFolder(localFolder);
return new Promise((resolve, reject) => {
zip.toBuffer((buffer) => {
logger.debug("Converting in-memory zip file to base64 encoded string");
resolve(buffer.toString('base64'));
}, (err) => {
reject(err);
});
});
};
The text was updated successfully, but these errors were encountered:
Find an AdmZip alternative to zip files in the commands.pullFolder method.
The text was updated successfully, but these errors were encountered: