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
|
@ -129,7 +129,7 @@ describe('BrowserWindow with affinity module', () => {
|
|||
nodeIntegration: false
|
||||
})
|
||||
]).then(args => {
|
||||
let w1 = args[1]
|
||||
const w1 = args[1]
|
||||
return Promise.all([
|
||||
testNodeIntegration(false),
|
||||
w1,
|
||||
|
@ -169,7 +169,7 @@ describe('BrowserWindow with affinity module', () => {
|
|||
nodeIntegration: true
|
||||
})
|
||||
]).then(args => {
|
||||
let w1 = args[1]
|
||||
const w1 = args[1]
|
||||
return Promise.all([
|
||||
testNodeIntegration(true),
|
||||
w1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue