👕 Fix linting issues

This commit is contained in:
Antonio Scandurra
2016-05-25 14:05:09 +02:00
parent 3ce7d0a974
commit 30307231e6

View File

@@ -75,8 +75,8 @@ export default class FileRecoveryService {
if (!this.observedWindows.has(window)) {
this.observedWindows.add(window)
window.webContents.on("crashed", () => this.recoverFilesForWindow(window))
window.on("closed", () => {
window.webContents.on('crashed', () => this.recoverFilesForWindow(window))
window.on('closed', () => {
this.observedWindows.delete(window)
this.recoveryFilesByWindow.delete(window)
})