mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
570f3fdb56
commit
ba6fd5797a
@ -85,7 +85,7 @@ export class LensProtocolRouterMain extends proto.LensProtocolRouter {
|
||||
const routeInternally = checkHost(url);
|
||||
|
||||
logger.info(`${proto.LensProtocolRouter.LoggingPrefix}: routing ${url.toString()}`);
|
||||
WindowManager.getInstance().ensureMainWindow().catch(noop);
|
||||
WindowManager.getInstance(false)?.ensureMainWindow().catch(noop);
|
||||
|
||||
if (routeInternally) {
|
||||
this._routeToInternal(url);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user