Skip to content

Commit 9f9d8da

Browse files
Copilotswissspidy
andcommitted
Maintain consistency with existing list command error handling
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 84db1bd commit 9f9d8da

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
@@ -580,7 +580,7 @@ public function get( $args, $assoc_args ) {
580580
} catch ( Exception $e ) {
581581
WP_CLI::warning( $e->getMessage() );
582582
$update = 'error';
583-
$update_version = 'N/A';
583+
$update_version = $update;
584584
}
585585

586586
$package_output['update'] = $update;

0 commit comments

Comments
 (0)