mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
lint
Signed-off-by: Gabriel <gaccettola@mirantis.com>
This commit is contained in:
parent
59bfef824a
commit
adc50d51af
@ -8,7 +8,7 @@ import clusterManagerInjectable from "./cluster/manager.injectable";
|
|||||||
import loggerInjectable from "../common/logger.injectable";
|
import loggerInjectable from "../common/logger.injectable";
|
||||||
import closeAllWindowsInjectable from "./start-main-application/lens-window/hide-all-windows/close-all-windows.injectable";
|
import closeAllWindowsInjectable from "./start-main-application/lens-window/hide-all-windows/close-all-windows.injectable";
|
||||||
import emitAppEventInjectable from "../common/app-event-bus/emit-event.injectable";
|
import emitAppEventInjectable from "../common/app-event-bus/emit-event.injectable";
|
||||||
const { app, crashReporter } = require('electron');
|
const { app, crashReporter } = require("electron");
|
||||||
|
|
||||||
const stopServicesAndExitAppInjectable = getInjectable({
|
const stopServicesAndExitAppInjectable = getInjectable({
|
||||||
id: "stop-services-and-exit-app",
|
id: "stop-services-and-exit-app",
|
||||||
@ -22,8 +22,8 @@ const stopServicesAndExitAppInjectable = getInjectable({
|
|||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
logger.info("CRASHREPORTER:START");
|
logger.info("CRASHREPORTER:START");
|
||||||
logger.info(app.getPath('crashDumps'))
|
logger.info(app.getPath("crashDumps"));
|
||||||
crashReporter.start({ submitURL: '', uploadToServer: false })
|
crashReporter.start({ submitURL: "", uploadToServer: false });
|
||||||
emitAppEvent({ name: "service", action: "close" });
|
emitAppEvent({ name: "service", action: "close" });
|
||||||
closeAllWindows();
|
closeAllWindows();
|
||||||
clusterManager.stop();
|
clusterManager.stop();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user