Skip to content

Commit 8de4205

Browse files
committed
Add explicit default branch for local wp-cli package
1 parent 0147078 commit 8de4205

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)