From c5c83b1af59011d82e940e34b62bbcb2f74e96f5 Mon Sep 17 00:00:00 2001 From: Roni Laukkarinen Date: Thu, 16 May 2024 12:36:19 +0300 Subject: [PATCH] Add silly debug flags for npm debugging --- prepare.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prepare.php b/prepare.php index 2948b70..a709c78 100644 --- a/prepare.php +++ b/prepare.php @@ -126,7 +126,7 @@ 'cd ' . escapeshellarg( $WPT_PREPARE_DIR . '/tests/phpunit/data/plugins/' ) . '; unzip wordpress-importer.zip; rm wordpress-importer.zip', // Change directory to the preparation directory, install npm dependencies, and build the project. - 'cd ' . escapeshellarg( $WPT_PREPARE_DIR ) . '; npm install && npm run build' + 'cd ' . escapeshellarg( $WPT_PREPARE_DIR ) . '; npm install -ddd && npm run build -ddd' ) ); @@ -135,7 +135,7 @@ /** * Reads the contents of the WordPress test configuration sample file. - * This file contains template placeholders that need to be replaced with actual values + * This file contains template placeholders that need to be replaced with actual values * from environment variables to configure the WordPress test environment. */ $contents = file_get_contents( $WPT_PREPARE_DIR . '/wp-tests-config-sample.php' ); @@ -146,7 +146,7 @@ * It then collects various pieces of system information including PHP version, loaded PHP modules, * MySQL version, operating system details, and versions of key utilities like cURL and OpenSSL. * This information is collected in an array and written to a JSON file in the log directory. - * Additionally, if running from the command line during a WordPress installation process, + * Additionally, if running from the command line during a WordPress installation process, * it outputs the PHP version and executable path. */ $system_logger = <<