adopted-ember-addons / ember-moment

MIT License
399 stars 122 forks source link

When calling `deprecate` you must provide `for` in options. Missing options.for in "ember-moment.addon.helpers.moment-to-now" deprecation #339

Open lsarni opened 3 years ago

lsarni commented 3 years ago

Hello, I'm getting this warning when using the moment-to-now helper.

It seems like this deprecate should have a for option.

According to the code of the deprecate method options.for A namespace for the deprecation, usually the package name

Would also be fixed by merging #338