Aronshire / ValoCord

Should not have unused variables JS-0128
Bug risk
Major
a year agoa year old
'error' is defined but never used. Allowed unused args must match /^_/u
 20    }
 21
 22    async clientLogin() {
 23        this.client.login({ clientId: this.clientId }).then(this.isReady = true).catch((error) => { 24            this.isReady = false;
 25            new Notification({
 26                title: 'ValoCord',
'translate' is assigned a value but never used. Allowed unused vars must match /^_/u
  1const { app, BrowserWindow, Notification, ipcMain, Tray, Menu, nativeImage, shell } = require('electron')
  2const { translate } = require('./client/utils')  3const path = require('path')
  4const url = require('url')
  5let win = null
'arg' is defined but never used. Allowed unused args must match /^_/u
103    
104});
105
106ipcMain.on('discord', async (event, arg) => {107
108    shell.openExternal('https://discord.gg/s2sdcwckpf')
109
'event' is defined but never used. Allowed unused args must match /^_/u
103    
104});
105
106ipcMain.on('discord', async (event, arg) => {107
108    shell.openExternal('https://discord.gg/s2sdcwckpf')
109
'Notification' is assigned a value but never used. Allowed unused vars must match /^_/u
  1const { app, BrowserWindow, Notification, ipcMain, Tray, Menu, nativeImage, shell } = require('electron')  2const { translate } = require('./client/utils')
  3const path = require('path')
  4const url = require('url')