From 0eca30367f3db2789a3a1d5de68be34a483a26ef Mon Sep 17 00:00:00 2001 From: Araxeus Date: Mon, 10 May 2021 01:56:41 +0300 Subject: [PATCH] lint --- providers/prompt-custom-titlebar.js | 2 +- providers/prompt-options.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/providers/prompt-custom-titlebar.js b/providers/prompt-custom-titlebar.js index c36ce5f5..affa9206 100644 --- a/providers/prompt-custom-titlebar.js +++ b/providers/prompt-custom-titlebar.js @@ -1,7 +1,7 @@ const customTitlebar = require("custom-electron-titlebar"); module.exports = () => { - const bar = new customTitlebar.Titlebar({ + new customTitlebar.Titlebar({ backgroundColor: customTitlebar.Color.fromHex("#050505"), minimizable: false, maximizable: false, diff --git a/providers/prompt-options.js b/providers/prompt-options.js index 1029a7b3..79cbc36f 100644 --- a/providers/prompt-options.js +++ b/providers/prompt-options.js @@ -7,13 +7,13 @@ const customTitlebarPath = path.join(__dirname, "prompt-custom-titlebar.js"); const promptOptions = is.macOS() ? { customStylesheet: "dark", icon: iconPath -} : { +} : { customStylesheet: "dark", icon: iconPath, // The following are used for custom titlebar frame: false, customScript: customTitlebarPath, enableRemoteModule: true -} +}; -module.exports = () => promptOptions; \ No newline at end of file +module.exports = () => promptOptions;