Skip to content

Commit 2957f1d

Browse files
committed
fix: ⚰️ remove unused info log
1 parent 91a9bea commit 2957f1d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/utils/log.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import chalk from 'chalk';
33
const libraryName = '[next-runtime-env]';
44

55
const prefixes = {
6-
info: `- ${chalk.cyan(`info`)} ${libraryName}`,
76
warn: `- ${chalk.yellow(`warn`)} ${libraryName}`,
87
event: `- ${chalk.magenta(`event`)} ${libraryName}`,
98
ready: `- ${chalk.green(`ready`)} ${libraryName}`,
@@ -14,11 +13,6 @@ export function warn(message: string) {
1413
console.warn(`${prefixes.warn} ${message}`);
1514
}
1615

17-
export function info(message: string) {
18-
// eslint-disable-next-line no-console
19-
console.info(`${prefixes.info} ${message}`);
20-
}
21-
2216
export function event(message: string) {
2317
// eslint-disable-next-line no-console
2418
console.info(`${prefixes.event} ${message}`);

0 commit comments

Comments
 (0)