diff --git a/src/vector/index.ts b/src/vector/index.ts index bc656c8071..2010c95d75 100644 --- a/src/vector/index.ts +++ b/src/vector/index.ts @@ -82,12 +82,13 @@ function checkBrowserFeatures(): boolean { for (const feature of featureList) { if (window.Modernizr[feature] === undefined) { logger.error( - `Looked for feature '${feature}' but Modernizr has no results for this. Has it been configured correctly?`, + "Looked for feature '%s' but Modernizr has no results for this. " + "Has it been configured correctly?", + feature, ); return false; } if (window.Modernizr[feature] === false) { - logger.error(`Browser missing feature: '${feature}'`); + logger.error("Browser missing feature: '%s'", feature); // toggle flag rather than return early so we log all missing features rather than just the first. featureComplete = false; }