From ab4961d0357bf2012adb902bb795f37996aa1dbc Mon Sep 17 00:00:00 2001 From: Meadowsys Date: Wed, 5 Apr 2023 17:04:50 -0700 Subject: [PATCH] yeet earlier `this.keymaps.loadBundledKeymaps` call This is called once in the constructor, then again in `initialize`. The constructor call was too early, and `i18n.t` had not been available yet, but it was used by `loadBundledKeymaps`. --- src/atom-environment.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/atom-environment.js b/src/atom-environment.js index ba508c056..23e017c71 100644 --- a/src/atom-environment.js +++ b/src/atom-environment.js @@ -209,10 +209,6 @@ class AtomEnvironment { applicationDelegate: this.applicationDelegate }); - if (this.keymaps.canLoadBundledKeymapsFromMemory()) { - this.keymaps.loadBundledKeymaps(); - } - this.registerDefaultCommands(); this.registerDefaultOpeners(); this.registerDefaultDeserializers();