Skip to content

Commit

Permalink
Fix: sourcemappingurl patched wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeIam committed Aug 27, 2022
1 parent 1a0fc65 commit d618b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/patchVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fs.readFile("dist/gccomment.user.js", "utf8", function (err, data) {
if (tag !== "main") {
var result = data.replace(
/gccomment\.user\.js\.map/g,
`${rootUrl}/${tag}/gccomment_${tag}.user.js.map`
`${rootUrl}/${tag}/gccomment.user.js.map`
);
var result = result.replace(
/@version 0.0.0/g,
Expand Down

0 comments on commit d618b1f

Please sign in to comment.