Skip to content

Commit

Permalink
fix const -> let type
Browse files Browse the repository at this point in the history
  • Loading branch information
hybridherbst committed Oct 8, 2024
1 parent ed41273 commit 8b5f989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/api-plugins/plausible/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function load(app) {
const subParts = part.split(".");
return subParts.length === 3 && !isNaN(subParts[0]) && !isNaN(subParts[1]);
});
const interestingPart = parts.slice(versionIndex + 1).join("/");
let interestingPart = parts.slice(versionIndex + 1).join("/");
if (interestingPart.startsWith("/"))
interestingPart = interestingPart.slice(1);
const engineVersion = parts[versionIndex];
Expand Down

0 comments on commit 8b5f989

Please sign in to comment.