Skip to content

Commit

Permalink
Cleanup some outdated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
confused-Techie committed Dec 17, 2024
1 parent f202ea5 commit 7092694
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/package-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -783,13 +783,7 @@ module.exports = class PackageManager {

for (let priorityLvl = 0; priorityLvl < 6; priorityLvl++) {
console.log(`Triggering package activation of priority lvl ${priorityLvl}`);
// Load the packages
// this.config.transact(() => {
// for (const pack of priorityMatrix[priorityLvl]) {
// this.loadAvailablePackage(pack, disabledPackageNames);
// }
// });
// Use loaded package data to activate
// Packages now being loaded outside the activation step
for (let [activator, types] of this.packageActivators) {
const packages = this.getLoadedPackagesForTypes(types);
//await activator.activatePackages(packages);
Expand Down Expand Up @@ -844,11 +838,6 @@ module.exports = class PackageManager {
await this.activatePackage(pack.name);
});
}
// this.config.transactAsync(async () => {
// for (const pack of packages) {
// await this.activatePackage(pack.name);
// }
// });
this.observeDisabledPackages();
this.observePackagesWithKeymapsDisabled();
}
Expand Down

0 comments on commit 7092694

Please sign in to comment.