Skip to content

Commit 232e96b

Browse files
swissspidyCopilot
andauthored
Update src/WP_CLI/CommandWithUpgrade.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9f699f1 commit 232e96b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/WP_CLI/CommandWithUpgrade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ protected function get_raw_url_from_gist( $gist_id ) {
11791179
$api_url = 'https://api.github.com/gists/' . $gist_id;
11801180
$token = getenv( 'GITHUB_TOKEN' );
11811181

1182-
$request_arguments = $token ? [ 'headers' => [ 'Authorization' => 'Bearer ' . $token ] ] : [];
1182+
$request_arguments = $token ? [ 'headers' => 'Authorization: Bearer ' . $token ] : [];
11831183

11841184
$response = \wp_remote_get( $api_url, $request_arguments );
11851185

0 commit comments

Comments
 (0)