Skip to content

Commit

Permalink
Enforce path.posix.join for classname attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
hspazio committed May 27, 2019
1 parent bc9152a commit a7449e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli-engine/formatters/junit.js
Expand Up @@ -32,7 +32,7 @@ function getMessageType(message) {
* @private
*/
function pathWithoutExt(filePath) {
return path.join(path.posix.dirname(filePath), path.basename(filePath, path.extname(filePath)));
return path.posix.join(path.posix.dirname(filePath), path.basename(filePath, path.extname(filePath)));
}

//------------------------------------------------------------------------------
Expand Down

0 comments on commit a7449e9

Please sign in to comment.