Undo turning warnings back on (#7409)

I guess that turns on warnings for everything, not just riot-web

Signed-off-by: Aaron Raimist <aaron@raim.ist>
pull/7444/head
Aaron Raimist 2018-10-05 11:05:25 -05:00
parent d035efb14e
commit d836ad8dbc
No known key found for this signature in database
GPG Key ID: 37419210002890EF
1 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,10 @@ import {getVectorConfig} from './getconfig';
let lastLocationHashSet = null;
// Disable warnings for now: we use deprecated bluebird functions
// and need to migrate, but they spam the console with warnings.
Promise.config({warnings: false});
function initRageshake() {
rageshake.init().then(() => {
console.log("Initialised rageshake: See https://bugs.chromium.org/p/chromium/issues/detail?id=583193 to fix line numbers on Chrome.");