Skip to content

Commit

Permalink
Simplify logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 7, 2023
1 parent 1ce81fd commit 0589b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/cover/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const uploadCoverage = async () => {
const getCoverageTags = () => {
const os = PLATFORMS[platform]
// `codecov` only allows restricted characters
const nodeVersion = `node_${version.replace(/\./gu, '_')}`
const nodeVersion = `node_${version.replaceAll('.', '_')}`
return [os, nodeVersion].map(getCoverageTag).join(' ')
}

Expand Down

0 comments on commit 0589b52

Please sign in to comment.