Skip to content

Commit 6fd40e4

Browse files
Fix typo in error code
1 parent adeaf98 commit 6fd40e4

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
@@ -167,7 +167,7 @@ public function install( $args, $assoc_args ) {
167167
WP_CLI::log( "Renamed Github-based project from '" . Utils\basename( $source ) . "' to '" . Utils\basename( $new_path ) . "'." );
168168
return $new_path;
169169
} else {
170-
return new \WP_Error( 'wpcli_install_gitub', "Couldn't move Github-based project to appropriate directory." );
170+
return new \WP_Error( 'wpcli_install_github', "Couldn't move Github-based project to appropriate directory." );
171171
}
172172
return $source;
173173
};

0 commit comments

Comments
 (0)