mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
refactor: replace var with const / let (#14866)
This commit is contained in:
committed by
Samuel Attard
parent
b42493e6e6
commit
c61db523c7
@@ -663,7 +663,7 @@ describe('protocol module', () => {
|
||||
})
|
||||
|
||||
it('does not crash when handler is called twice', (done) => {
|
||||
var doubleHandler = (request, callback) => {
|
||||
const doubleHandler = (request, callback) => {
|
||||
try {
|
||||
callback(text)
|
||||
callback()
|
||||
|
||||
Reference in New Issue
Block a user