Skip to content

Commit

Permalink
Oh those sneaky path seps on Windows. Fixes #64.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Jan 18, 2016
1 parent 344403a commit 70d28c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/tasks/gulp/build/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ require( [ 'tests' ], bender.defer(), function( err ) {
*/
isTestFile( file ) {
// TODO this should be based on bender configuration (config.tests.*.paths).
if ( !file.relative.startsWith( 'tests/' ) ) {
if ( !file.relative.startsWith( 'tests' + path.sep ) ) {
return false;
}

Expand Down

0 comments on commit 70d28c5

Please sign in to comment.