Skip to content

Commit bb4c719

Browse files
authored
Merge pull request #149 from wp-cli/fix/provide-default-branch-for-local-wp-cli-package
2 parents 0147078 + 8de4205 commit bb4c719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Context/FeatureContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ public function composer_add_wp_cli_local_repository() {
978978
self::remove_dir( self::$composer_local_repository . '/vendor' );
979979
}
980980
$dest = self::$composer_local_repository . '/';
981-
$this->composer_command( "config repositories.wp-cli '{\"type\": \"path\", \"url\": \"$dest\", \"options\": {\"symlink\": false}}'" );
981+
$this->composer_command( "config repositories.wp-cli '{\"type\": \"path\", \"url\": \"$dest\", \"options\": {\"symlink\": false, \"versions\": { \"wp-cli/wp-cli\": \"dev-master\"}}}'" );
982982
$this->variables['COMPOSER_LOCAL_REPOSITORY'] = self::$composer_local_repository;
983983
}
984984

0 commit comments

Comments
 (0)