mirror of
https://github.com/atom/atom.git
synced 2026-02-16 09:35:54 -05:00
Clear deprecations after mapping over them
This commit is contained in:
@@ -45,8 +45,8 @@ setupDeprecations = ->
|
||||
Grim = require 'grim'
|
||||
Grim.on 'updated', ->
|
||||
deprecations = Grim.getDeprecations().map (deprecation) -> deprecation.serialize()
|
||||
emit('task:deprecations', deprecations)
|
||||
Grim.clearDeprecations()
|
||||
emit('task:deprecations', deprecations)
|
||||
|
||||
setupGlobals()
|
||||
handleEvents()
|
||||
|
||||
Reference in New Issue
Block a user