File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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'.
128128function 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 );
You can’t perform that action at this time.
0 commit comments