mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Silence whitespace-eating-comment warnings (#27129)
e.g. `unexpectedly found "! no whitespace ~" when slicing source, but expected " no whitespace "` See: https://github.com/emberjs/ember.js/issues/19392 Co-authored-by: David Taylor <david@taylorhq.com>
This commit is contained in:
parent
a77e3eeaf2
commit
24230e7461
@ -1,5 +1,6 @@
|
|||||||
const SILENCED_WARN_PREFIXES = [
|
const SILENCED_WARN_PREFIXES = [
|
||||||
"Setting the `jquery-integration` optional feature flag",
|
"Setting the `jquery-integration` optional feature flag",
|
||||||
|
'unexpectedly found "!', // https://github.com/emberjs/ember.js/issues/19392
|
||||||
];
|
];
|
||||||
|
|
||||||
class DeprecationSilencer {
|
class DeprecationSilencer {
|
||||||
|
Loading…
Reference in New Issue
Block a user