refactor: add prefer-const to .eslintrc + fix errors (#14880)
This commit is contained in:
parent
07161a8452
commit
3ad3ade828
47 changed files with 239 additions and 238 deletions
2
spec/fixtures/api/mixed-sandbox-app/main.js
vendored
2
spec/fixtures/api/mixed-sandbox-app/main.js
vendored
|
@ -15,7 +15,7 @@ let currentWindowSandboxed = false
|
|||
app.once('ready', () => {
|
||||
function testWindow (isSandboxed, callback) {
|
||||
currentWindowSandboxed = isSandboxed
|
||||
let currentWindow = new BrowserWindow({
|
||||
const currentWindow = new BrowserWindow({
|
||||
show: false,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, 'electron-app-mixed-sandbox-preload.js'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue