Skip to content

Commit c5ad367

Browse files
committed
dir sep
1 parent 785372b commit c5ad367

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/behat-tags.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function version_tags(
2424
}
2525

2626
$existing_tags = array();
27-
$feature_files = glob( $features_folder . '/*.feature' );
27+
$feature_files = glob( $features_folder . DIRECTORY_SEPARATOR . '*.feature' );
2828
if ( ! empty( $feature_files ) ) {
2929
foreach ( $feature_files as $feature_file ) {
3030
$contents = file_get_contents( $feature_file );
@@ -127,7 +127,7 @@ function get_db_version() {
127127
# Require PHP extension, eg 'imagick'.
128128
function extension_tags( $features_folder = 'features' ) {
129129
$extension_tags = array();
130-
$feature_files = glob( $features_folder . '/*.feature' );
130+
$feature_files = glob( $features_folder . DIRECTORY_SEPARATOR . '*.feature' );
131131
if ( ! empty( $feature_files ) ) {
132132
foreach ( $feature_files as $feature_file ) {
133133
$contents = file_get_contents( $feature_file );

0 commit comments

Comments
 (0)