Skip to content

Commit b1bac8b

Browse files
committed
DEV: allow console.warn
1 parent abd838e commit b1bac8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

javascripts/discourse/components/one-trust-pref-button.gjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default class OneTrustPrefButton extends Component {
88
if (window.OneTrust) {
99
window.OneTrust.ToggleInfoDisplay();
1010
} else {
11+
// eslint-disable-next-line no-console
1112
console.warn("OneTrust is not defined");
1213
}
1314
}

0 commit comments

Comments
 (0)