We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6552b3a commit 98e5868Copy full SHA for 98e5868
src/WP_CLI/PackageValidator.php
@@ -77,8 +77,8 @@ private static function is_unzip_available() {
77
// Check if unzip is in PATH by trying to get its version.
78
// Suppress output to avoid cluttering the console.
79
// Note: Redirection to null device is safe as the device path is a hardcoded constant.
80
- $null_device = '\\' === DIRECTORY_SEPARATOR ? 'NUL' : '/dev/null';
81
- $result = WP_CLI::launch(
+ $null_device = '\\' === DIRECTORY_SEPARATOR ? 'NUL' : '/dev/null';
+ $result = WP_CLI::launch(
82
'unzip -v > ' . escapeshellarg( $null_device ) . ' 2>&1',
83
false,
84
true
0 commit comments