Skip to content

Commit 766ef2c

Browse files
committed
Change destination for coverage files
1 parent ecbf4ff commit 766ef2c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

utils/maybe-generate-wp-cli-coverage.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ static function () use ( $coverage, $feature, $scenario, $name ) {
3535
$feature_suffix = preg_replace( '/[^a-z0-9]+/', '-', strtolower( $feature ) );
3636
$scenario_suffix = preg_replace( '/[^a-z0-9]+/', '-', strtolower( $scenario ) );
3737
$db_type = strtolower( getenv( 'WP_CLI_TEST_DBTYPE' ) );
38-
$filename = "clover-behat/$feature_suffix-$scenario_suffix-$db_type.xml";
39-
$destination = "$project_dir/build/logs/{$filename}";
38+
$destination = "$project_dir/build/logs/$feature_suffix-$scenario_suffix-$db_type.xml";
4039

4140
( new Clover() )->process( $coverage, $destination, $name );
4241
}

0 commit comments

Comments
 (0)