mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
👕 Fix linting issues
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user