Skip to content

Commit

Permalink
CDP - normalize paths
Browse files Browse the repository at this point in the history
Ensure normalizing require paths else it will break on windows
  • Loading branch information
Christoffer Åström committed Jan 2, 2018
1 parent da40a4d commit d0f2c38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cdp/runner.js
Expand Up @@ -307,7 +307,8 @@ class Runner {
this.log('No files found for:', this.argv.glob);
process.exit(1);
}
this.testFilesBrowser = this.relativeBaseUrlFiles(this.testFiles);
this.testFilesBrowser = this.relativeBaseUrlFiles(this.testFiles)
.map(f => f.split('\\').join('/'));
return this;
}
setUrl(url) {
Expand Down

0 comments on commit d0f2c38

Please sign in to comment.