Skip to content

Commit 97a04b9

Browse files
committed
Move "quiet" configuration to an environment var
The JS based one does not appear to silence all tips.
1 parent 6ab63bc commit 97a04b9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,8 @@ LOCAL_WP_TESTS_DOMAIN=example.org
6767

6868
# The URL to use when running e2e tests.
6969
WP_BASE_URL=http://localhost:${LOCAL_PORT}
70+
71+
##
72+
# This silences the tips output by the dotenv package.
73+
##
74+
DOTENV_CONFIG_QUIET=true

tools/local-env/scripts/start.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* jshint node:true */
22

3-
const dotenv = require( 'dotenv' ).config({ quiet: true });
3+
const dotenv = require( 'dotenv' );
44
const dotenvExpand = require( 'dotenv-expand' );
55
const { execSync, spawnSync } = require( 'child_process' );
66
const local_env_utils = require( './utils' );

0 commit comments

Comments
 (0)