From 1cadb3641acfb2ce748371ab3e0be0bf56994f6a Mon Sep 17 00:00:00 2001 From: Gan Eng Chin Date: Fri, 21 Apr 2023 00:09:42 +0800 Subject: [PATCH 1/2] Fix wrong file name in error message in update-wp-env.php. --- plugins/woocommerce/tests/e2e-pw/bin/update-wp-env.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce/tests/e2e-pw/bin/update-wp-env.php b/plugins/woocommerce/tests/e2e-pw/bin/update-wp-env.php index 07e5be7c0db..dcb87a7b56c 100644 --- a/plugins/woocommerce/tests/e2e-pw/bin/update-wp-env.php +++ b/plugins/woocommerce/tests/e2e-pw/bin/update-wp-env.php @@ -14,7 +14,7 @@ if ( ! class_exists( UPDATE_WP_JSON::class ) ) { if ( file_exists( $this->wp_env_path ) ) { $this->wp_json = json_decode( file_get_contents( $this->wp_env_path ), true ); } else { - throw new Exception( ".wp_env.json doesn't exist!" ); + throw new Exception( ".wp-env.json doesn't exist!" ); } $env = getenv(); From 7a63646a0f075baee972ad2858a4f0937f0fb903 Mon Sep 17 00:00:00 2001 From: Gan Eng Chin Date: Fri, 21 Apr 2023 00:11:51 +0800 Subject: [PATCH 2/2] Add changelog. --- plugins/woocommerce/changelog/fix-update-wp-env-error-message | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 plugins/woocommerce/changelog/fix-update-wp-env-error-message diff --git a/plugins/woocommerce/changelog/fix-update-wp-env-error-message b/plugins/woocommerce/changelog/fix-update-wp-env-error-message new file mode 100644 index 00000000000..c1dbb8c74d4 --- /dev/null +++ b/plugins/woocommerce/changelog/fix-update-wp-env-error-message @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Fix wrong file name in error message in update-wp-env.php.