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 16, 2019
1 parent a500e71 commit 9a5e73c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/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 9a5e73c

Please sign in to comment.