Skip to content

Commit 95caeba

Browse files
committed
ci: remove special condition for logged messages inside CI
1 parent 38f86d0 commit 95caeba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test-helpers/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ export function toNewlineArray(contents: string): string[] {
1111
return contents.split(/\r?\n/)
1212
}
1313

14-
export const info = process.env.CI ? '[ info ]' : '[ blue(info) ]'
15-
export const success = process.env.CI ? '[ success ]' : '[ green(success) ]'
16-
export const error = process.env.CI ? '[ error ]' : '[ red(error) ]'
17-
export const warning = process.env.CI ? '[ warn ]' : '[ yellow(warn) ]'
18-
export const dimYellow = (value: string) => (process.env.CI ? value : `dim(yellow(${value}))`)
14+
export const info = '[ blue(info) ]'
15+
export const success = '[ green(success) ]'
16+
export const error = '[ red(error) ]'
17+
export const warning = '[ yellow(warn) ]'
18+
export const dimYellow = (value: string) => `dim(yellow(${value}))`

0 commit comments

Comments
 (0)