Skip to content

Commit

Permalink
ref(core): Add codecov prefix to log messages (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad authored Feb 22, 2024
1 parent 11eed01 commit f0fd4ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .changeset/khaki-lions-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@codecov/bundler-plugin-core": patch
"@codecov/rollup-plugin": patch
"@codecov/vite-plugin": patch
"@codecov/webpack-plugin": patch
---

Add codecov prefix to log messages
2 changes: 1 addition & 1 deletion packages/bundler-plugin-core/src/utils/logging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function prepareMessage(msg: unknown): string {
export function l(msg: string): void {
// Required to properly log to the console
// eslint-disable-next-line no-console
console.log(msg);
console.log(`[codecov] ${msg}`);
}

export function nl(): void {
Expand Down

0 comments on commit f0fd4ce

Please sign in to comment.