ember-cli-deprecation-workflow icon indicating copy to clipboard operation
ember-cli-deprecation-workflow copied to clipboard

Not all deprecations flushed

Open jeffcressman opened this issue 9 years ago • 1 comments

The number of deprecations flushed doesn't match the number reported by the Ember inspector

window.deprecationWorkflow = window.deprecationWorkflow || {};
window.deprecationWorkflow.config = {
  workflow: [
    { handler: "silence", matchMessage: "Ember.Handlebars.helper is deprecated, please refactor to Ember.Helper.helper" },
    { handler: "silence", matchMessage: "Using Ember.Handlebars.makeBoundHelper is deprecated. Please refactor to using `Ember.Helper.helper`." },
    { handler: "silence", matchMessage: "Ember.create is deprecated in favor of Object.create" }
  ]
};

image

I also get this same set each time I run deprecationWorkflow.flushDeprecations() in the browser console.

Chrome 46.0.2490.71 Ember 1.13.8 Ember Data 1.13.14 ember-cli 1.13.8

jeffcressman avatar Oct 23 '15 05:10 jeffcressman

I just tried running my app in a Chrome incognito tab. Without the Ember inspector running deprecationWorkflow.flushDeprecations() returns the full list of deprecations I am expecting to see.

jeffcressman avatar Oct 23 '15 05:10 jeffcressman