-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from karma-runner/fix-output-file
fix: Add back `outputFile` config
- Loading branch information
Showing
1 changed file
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2e5e015
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In
writeXmlForBrowser
you are now modifying the global variableoutputFile
. This means that with multiple browsers, andoutputFile
initiallynull
, this will first take the second branch and then the first for subsequent browsers (in the if statement at line 45). You will then continuously concatenate the paths. That can't be right....2e5e015
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have the problem too with version 0.3.5. The path for the first browser is fine, but for the second browser the path is wrong:
2e5e015
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe these observations should be written on the issue instead of the commit. See #65