Skip to content

Commit

Permalink
Merge pull request #2 from renovatebot/windows-fix
Browse files Browse the repository at this point in the history
Update index.js
  • Loading branch information
zharinov authored Aug 17, 2021
2 parents 76829fd + 95260a2 commit c882531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
}
const relativeFileName = absoluteFileName
.replace(process.cwd(), '')
.replace(/\//g, '/')
.replace(/\\/g, '/')
.replace(/^(?:\/(?:lib|src|test))?\//, '');
const testName = String(relativeFileName.replace(/\.spec\.ts$/, ''));
return {
Expand Down

0 comments on commit c882531

Please sign in to comment.