Skip to content

Commit 32777be

Browse files
committed
use WPT_DEBUG instead of WPT_LOGGING
feedback from @getsource
1 parent 5dff626 commit 32777be

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.env.default

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ export WPT_SSH_OPTIONS=
5757
export WPT_SSH_PRIVATE_KEY_BASE64=
5858

5959
# Output logging
60-
# Defaults to 'normal', use 'verbose' to increase verbosity
61-
export WPT_LOGGING=
60+
# Defaults to '', use 'verbose' to increase verbosity
61+
export WPT_DEBUG=

prepare.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
$WPT_SSH_OPTIONS = getenv( 'WPT_SSH_OPTIONS' ) ? : '-o StrictHostKeyChecking=no';
1616
$WPT_TEST_DIR = getenv( 'WPT_TEST_DIR' );
1717
$WPT_PHP_EXECUTABLE = getenv( 'WPT_PHP_EXECUTABLE') ? : 'php';
18-
$WPT_LOGGING = getenv( 'WPT_LOGGING') ? : 'normal';
18+
$WPT_DEBUG = getenv( 'WPT_DEBUG') ? : '';
1919

2020
// Set the ssh private key if it's set.
2121
$WPT_SSH_PRIVATE_KEY_BASE64 = getenv( 'WPT_SSH_PRIVATE_KEY_BASE64' );
@@ -108,7 +108,7 @@
108108
if ( ! empty( $WPT_SSH_CONNECT ) ) {
109109
$rsync_options = '-r';
110110

111-
if ( 'verbose' === $WPT_LOGGING ) {
111+
if ( 'verbose' === $WPT_DEBUG ) {
112112
$rsync_options = $rsync_options . 'v';
113113
}
114114

report.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
$WPT_PREPARE_DIR = getenv( 'WPT_PREPARE_DIR' );
1515
$WPT_SSH_OPTIONS = getenv( 'WPT_SSH_OPTIONS' );
1616
$WPT_REPORT_API_KEY = getenv( 'WPT_REPORT_API_KEY' );
17-
$WPT_LOGGING = getenv( 'WPT_LOGGING') ? : 'normal';
17+
$WPT_DEBUG = getenv( 'WPT_DEBUG' ) ? : '';
1818

1919
log_message('Getting SVN Revision');
2020
$rev = exec('git --git-dir=' . escapeshellarg( $WPT_PREPARE_DIR ) . '/.git log -1 --pretty=%B | grep "git-svn-id:" | cut -d " " -f 2 | cut -d "@" -f 2');
@@ -31,7 +31,7 @@
3131

3232
$rsync_options = '-r';
3333

34-
if ( 'verbose' === $WPT_LOGGING ) {
34+
if ( 'verbose' === $WPT_DEBUG ) {
3535
$rsync_options = $rsync_options . 'v';
3636
}
3737

0 commit comments

Comments
 (0)