Skip to content

Commit 2c81065

Browse files
swissspidyCopilot
andauthored
Update src/Package_Command.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 25ad3a7 commit 2c81065

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Package_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public function install( $args, $assoc_args ) {
370370
|| self::PACKAGE_INDEX_URL !== $composer_backup_decoded['repositories']['wp-cli']['url']
371371
|| ( $composer_backup_decoded['repositories']['wp-cli']['canonical'] ?? true ) !== false ) {
372372
WP_CLI::log( 'Updating package index repository url...' );
373-
$package_args = $this->composer_type_package;
373+
WP_CLI::log( 'Refreshing package index repository definition...' );
374374
$json_manipulator->addRepository(
375375
'wp-cli',
376376
$package_args

0 commit comments

Comments
 (0)