Skip to content

Commit 910733d

Browse files
committed
Make the $repo param dynamic in the WP CLI command
1 parent 55140d8 commit 910733d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wp-cli-command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function __invoke( $args, $assoc_args ) {
6161

6262
// @todo: replace SVN version control backend with any other parser you might want to use - eg.: git
6363
require_once( __DIR__ . 'class-phpcs-diff-svn.php' );
64-
$phpcs = new PHPCS_Diff( new PHPCS_Diff_SVN( 'hello-dolly' ) );
64+
$phpcs = new PHPCS_Diff( new PHPCS_Diff_SVN( $repo ) );
6565

6666
if ( true === array_key_exists( 'ignore-diff-too-big', $assoc_args ) ) {
6767
$phpcs->set_no_diff_too_big( true );

0 commit comments

Comments
 (0)