Skip to content

Commit bd47c97

Browse files
committed
test(snap): suppress node warning from FORCE_COLOR+NO_COLOR conflict
1 parent 7068818 commit bd47c97

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
> vp run check -- --foo # get NO_COLOR=true from default env
2-
$ node check.js -- --foo
2+
$ node --no-warnings check.js -- --foo
33
NO_COLOR=true, CI=true
44

55

66
> NO_COLOR=false vp run check -- --bar # get NO_COLOR=false from custom env
7-
$ node check.js -- --bar
7+
$ node --no-warnings check.js -- --bar
88
NO_COLOR=false, CI=true
99

packages/cli/snap-tests/pass-no-color-env/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export default {
33
cache: true,
44
tasks: {
55
check: {
6-
command: 'node check.js',
6+
command: 'node --no-warnings check.js',
77
untrackedEnv: ['NO_COLOR'],
88
},
99
},

0 commit comments

Comments
 (0)