Add missing let (#15746)

This commit is contained in:
JohanG2012 2019-02-04 20:02:01 +01:00 committed by Shelley Vohr
parent 24f1eac84f
commit cacb56b103

View file

@ -109,7 +109,7 @@ const { app, BrowserWindow } = require('electron')
function createWindow () {
// Create the browser window.
win = new BrowserWindow({ width: 800, height: 600 })
let win = new BrowserWindow({ width: 800, height: 600 })
// and load the index.html of the app.
win.loadFile('index.html')