Skip to content

Commit

Permalink
chore: update warning formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
agoldis committed Sep 19, 2023
1 parent a45d5ba commit e369aed
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions packages/cypress-cloud/lib/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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)}`
);
}
}
Expand Down

0 comments on commit e369aed

Please sign in to comment.