From 6f2aec4395975a9f92a05e1154ff4bb915cf9112 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 19 Feb 2015 11:22:08 -0800 Subject: [PATCH] Clear deprecations after mapping over them --- src/task-bootstrap.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/task-bootstrap.coffee b/src/task-bootstrap.coffee index c8d7f74d2..ebb5cdc2b 100644 --- a/src/task-bootstrap.coffee +++ b/src/task-bootstrap.coffee @@ -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()