Skip to content

Commit 3b2bffa

Browse files
itsthatianguydignifiedquire
authored andcommitted
fix(reporter): replace colons in the output path
change browser name used to generate output path, remove instances of `:` to make it compatible with windows BREAKING CHANGE: the output folder names change, they no longer contain `:`
1 parent 1a876d5 commit 3b2bffa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/reporter.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ var CoverageReporter = function (rootConfig, helper, logger, emitter) {
266266

267267
var mainDir = reporterConfig.dir || config.dir
268268
var subDir = reporterConfig.subdir || config.subdir
269-
var simpleOutputDir = generateOutputDir(browser.name, mainDir, subDir)
269+
var browserName = browser.name.replace(':', '')
270+
var simpleOutputDir = generateOutputDir(browserName, mainDir, subDir)
270271
var resolvedOutputDir = path.resolve(basePath, simpleOutputDir)
271272

272273
var outputDir = helper.normalizeWinPath(resolvedOutputDir)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy