We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d98b62 commit a22e56bCopy full SHA for a22e56b
1 file changed
src/Context/FeatureContext.php
@@ -1194,6 +1194,10 @@ public function download_phar( $version = 'same' ): void {
1194
if ( 200 !== $response->status_code ) {
1195
throw new RuntimeException( "Could not download WP-CLI PHAR (HTTP code {$response->status_code})" );
1196
}
1197
+
1198
+ if ( ! Utils\is_windows() ) {
1199
+ chmod( $this->variables['PHAR_PATH'], 0755 );
1200
+ }
1201
1202
1203
/**
0 commit comments