mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Move async function to async context (attaching debugger)
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>
This commit is contained in:
parent
829275f927
commit
505a9a0d19
@ -47,6 +47,7 @@ export {
|
|||||||
export async function bootstrap(App: AppComponent) {
|
export async function bootstrap(App: AppComponent) {
|
||||||
const rootElem = document.getElementById("app");
|
const rootElem = document.getElementById("app");
|
||||||
|
|
||||||
|
await attachChromeDebugger();
|
||||||
rootElem.classList.toggle("is-mac", isMac);
|
rootElem.classList.toggle("is-mac", isMac);
|
||||||
|
|
||||||
extensionLoader.init();
|
extensionLoader.init();
|
||||||
@ -87,4 +88,3 @@ export async function bootstrap(App: AppComponent) {
|
|||||||
|
|
||||||
// run
|
// run
|
||||||
bootstrap(process.isMainFrame ? LensApp : App);
|
bootstrap(process.isMainFrame ? LensApp : App);
|
||||||
await attachChromeDebugger();
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user