From c4095c68464965fd6444b4e04e21379f20beff0d Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sun, 15 Nov 2020 15:57:07 +0100 Subject: [PATCH] less syntax --- packages/jest-config/src/normalize.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jest-config/src/normalize.ts b/packages/jest-config/src/normalize.ts index 269bab1d3175..3c6ba5a0cd2a 100644 --- a/packages/jest-config/src/normalize.ts +++ b/packages/jest-config/src/normalize.ts @@ -492,7 +492,7 @@ function validateExtensionsToTreatAsEsm( function printConfig(opts: Array) { const string = opts.map(ext => `'${ext}'`).join(', '); - return `${chalk.bold(`extensionsToTreatAsEsm: [${string}]`)}`; + return chalk.bold(`extensionsToTreatAsEsm: [${string}]`); } const extensionWithoutDot = extensionsToTreatAsEsm.some(