From e369aed24a5a22d03cc651251058ea3c69760fb5 Mon Sep 17 00:00:00 2001 From: Andrew Goldis Date: Tue, 19 Sep 2023 13:52:22 -0700 Subject: [PATCH] chore: update warning formatting --- packages/cypress-cloud/lib/run.ts | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/packages/cypress-cloud/lib/run.ts b/packages/cypress-cloud/lib/run.ts index c0e48cfe..1610f160 100644 --- a/packages/cypress-cloud/lib/run.ts +++ b/packages/cypress-cloud/lib/run.ts @@ -19,17 +19,7 @@ import { activateDebug } from "./debug"; import { isCurrents } from "./env"; import { getGitInfo } from "./git"; import { setAPIBaseUrl, setRunId } from "./httpClient"; -import { - bold, - dim, - divider, - format, - info, - spacer, - title, - warn, - yellow, -} from "./log"; +import { bold, dim, divider, info, spacer, title, warn, yellow } from "./log"; import { getPlatform } from "./platform"; import { pubsub } from "./pubsub"; import { summarizeTestResults, summaryTable } from "./results"; @@ -199,7 +189,7 @@ function listenToSpecEvents( executionState.setSpecCoverage(spec.relative, path); } else { executionState.addWarning( - format(`Could not process coverage file "%s"\n${dim(error)}`, path) + `Could not process coverage file "${path}"\n${dim(error)}` ); } }