Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

Commit 143c2f9

Browse files
committed
Fix inactive/active
1 parent 48ec86a commit 143c2f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/McpServerCommand.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function update( $args, array $assoc_args ): void {
191191
if ( isset( $assoc_args[ $key ] ) ) {
192192
$new_value = $assoc_args[ $key ];
193193
if ( 'status' === $key ) {
194-
$new_value = 'inactive' === $new_value ? 'active' : 'inactive';
194+
$new_value = 'inactive' === $new_value ? 'inactive' : 'active';
195195
}
196196
$server[ $key ] = $new_value;
197197
}

0 commit comments

Comments
 (0)