mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:25:35 +08:00
DEV: Disable RAISE_ON_DEPRECATION (#17351)
Some plugins/themes are still awaiting updates for some deprecations, and they started raising errors in development. It's not clear that the errors are development-only, so it can be quite confusing for developers. Disabling this flag for now until we can make the messages clearer and fix up existing deprecation issues in themes/plugins.
This commit is contained in:
parent
59c8774957
commit
6c49ec39ea
|
@ -33,7 +33,7 @@ module.exports = function (environment) {
|
|||
// ENV.APP.LOG_TRANSITIONS = true;
|
||||
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
|
||||
// ENV.APP.LOG_VIEW_LOOKUPS = true;
|
||||
ENV.EmberENV.RAISE_ON_DEPRECATION = true;
|
||||
ENV.EmberENV.RAISE_ON_DEPRECATION = false;
|
||||
}
|
||||
|
||||
if (environment === "test") {
|
||||
|
@ -47,7 +47,7 @@ module.exports = function (environment) {
|
|||
ENV.APP.rootElement = "#ember-testing";
|
||||
ENV.APP.autoboot = false;
|
||||
|
||||
ENV.EmberENV.RAISE_ON_DEPRECATION = true;
|
||||
ENV.EmberENV.RAISE_ON_DEPRECATION = false;
|
||||
}
|
||||
|
||||
if (environment === "production") {
|
||||
|
|
Loading…
Reference in New Issue
Block a user