Skip to content

Commit

Permalink
Fix regex in update Inlang script
Browse files Browse the repository at this point in the history
  • Loading branch information
WarningImHack3r committed Aug 1, 2023
1 parent 6c58f5e commit 29a2907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-inlang-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function updateConfig() {
if (sdkDependencyVersion !== sdkConfigVersion) {
console.log("Updating inlang config...");
const newConfig = inlangConfig.replace(
/sdk-js-plugin[^@]+@[^/]+/,
/sdk-js-plugin@[\d.]+/,
`sdk-js-plugin@${sdkDependencyVersion}`
);
writeFileSync("./inlang.config.js", newConfig);
Expand Down

0 comments on commit 29a2907

Please sign in to comment.