Files
threshold-ui/addons/core/addon/initializers/deprecations.js
T
Dharini Jeeva b8cbbceff6 chore: 🤖 deprecation workflow (#1462)
* chore: 🤖 rebase main

* test: 💍 rebase

* test: 💍 rebase

* test: 💍 rebase

* test: 💍 rebase
2022-11-15 19:36:30 -08:00

15 lines
281 B
JavaScript

import { registerDeprecationHandler } from '@ember/debug';
export function initialize() {
registerDeprecationHandler((message, options, next) => {
if (options?.url) {
message += options.url;
}
next(message, options);
});
}
export default {
initialize,
};