Skip to content

Commit 8f564f9

Browse files
committed
Default WPT_DEBUG to nothing/false, rather than empty string.
1 parent a395d8b commit 8f564f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

prepare.php

Lines changed: 1 addition & 1 deletion
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_DEBUG = getenv( 'WPT_DEBUG' ) ? : '';
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' );

report.php

Lines changed: 1 addition & 1 deletion
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_DEBUG = getenv( 'WPT_DEBUG' ) ? : '';
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');

0 commit comments

Comments
 (0)