mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
🔥 Remove default parameters
This commit is contained in:
@@ -834,9 +834,6 @@ class AtomEnvironment extends Model
|
||||
saveState: (options) ->
|
||||
return Promise.resolve() unless @enablePersistence
|
||||
|
||||
options ?= {}
|
||||
options.isUnloading ?= false
|
||||
|
||||
new Promise (resolve, reject) =>
|
||||
window.requestIdleCallback =>
|
||||
state = @serialize(options)
|
||||
|
||||
Reference in New Issue
Block a user