@wordpress/env 5.2.1 → 5.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -122,7 +122,7 @@ async function downloadTestSuite(
122
122
  // Alpha, Beta, and RC versions are bleeding edge and should pull from trunk.
123
123
  let ref;
124
124
  const fetchRaw = [];
125
- if ( ! wpVersion || wpVersion.match( /-(?:alpha|beta|rc)/ ) ) {
125
+ if ( ! wpVersion || wpVersion.match( /-(?:alpha|beta|rc)/i ) ) {
126
126
  ref = 'trunk';
127
127
  fetchRaw.push( 'fetch', 'origin', ref, '--depth', '1' );
128
128
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/env",
3
- "version": "5.2.1",
3
+ "version": "5.2.2",
4
4
  "description": "A zero-config, self contained local WordPress environment for development and testing.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -51,5 +51,5 @@
51
51
  "scripts": {
52
52
  "test": "echo \"Error: run tests from root\" && exit 1"
53
53
  },
54
- "gitHead": "f6021282457317c7e12dcc3a3f02c9ac28e16a30"
54
+ "gitHead": "84269cffad0bab2b10e6b6da8e275716fcc8c57b"
55
55
  }