mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Fix for loops in AddonRepository_SQLiteMigrator.jsm (SyntaxError: missing ] after element list)
This commit is contained in:
parent
37c73e0634
commit
a9cc6150e6
1 changed files with 5 additions and 1 deletions
|
|
@ -60,7 +60,11 @@ this.AddonRepository_SQLiteMigrator = {
|
|||
|
||||
this._retrieveStoredData((results) => {
|
||||
this._closeConnection();
|
||||
let resultArray = [addon for ([,addon] of Iterator(results))];
|
||||
// Tycho: let resultArray = [addon for ([,addon] of Iterator(results))];
|
||||
let resultArray = [];
|
||||
for (let [,addon] of Iterator(results)) {
|
||||
resultArray.push(addon);
|
||||
}
|
||||
logger.debug(resultArray.length + " addons imported.")
|
||||
aCallback(resultArray);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue