lingo.dev 0.89.4 → 0.89.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/cli.mjs CHANGED
@@ -4787,6 +4787,9 @@ var gitConfig = {
4787
4787
  userName: "Lingo.dev",
4788
4788
  userEmail: "support@lingo.dev"
4789
4789
  };
4790
+ function escapeShellArg(arg) {
4791
+ return `'${arg.replace(/'/g, "'\\''")}'`;
4792
+ }
4790
4793
 
4791
4794
  // src/cli/cmd/ci/flows/in-branch.ts
4792
4795
  var InBranchFlow = class extends IntegrationFlow {
@@ -4808,9 +4811,12 @@ var InBranchFlow = class extends IntegrationFlow {
4808
4811
  this.ora.start("Committing changes");
4809
4812
  execSync(`git add .`, { stdio: "inherit" });
4810
4813
  execSync(`git status --porcelain`, { stdio: "inherit" });
4811
- execSync(`git commit -m "${this.platformKit.config.commitMessage}"`, {
4812
- stdio: "inherit"
4813
- });
4814
+ execSync(
4815
+ `git commit -m ${escapeShellArg(this.platformKit.config.commitMessage)} --no-verify`,
4816
+ {
4817
+ stdio: "inherit"
4818
+ }
4819
+ );
4814
4820
  this.ora.succeed("Changes committed");
4815
4821
  this.ora.start("Pushing changes to remote");
4816
4822
  const currentBranch = this.i18nBranchName ?? this.platformKit.platformConfig.baseBranchName;
@@ -5040,7 +5046,7 @@ var PullRequestFlow = class extends InBranchFlow {
5040
5046
  if (hasChanges) {
5041
5047
  execSync2("git add .", { stdio: "inherit" });
5042
5048
  execSync2(
5043
- `git commit -m "chore: sync with ${this.platformKit.platformConfig.baseBranchName}"`,
5049
+ `git commit -m "chore: sync with ${this.platformKit.platformConfig.baseBranchName}" --no-verify`,
5044
5050
  {
5045
5051
  stdio: "inherit"
5046
5052
  }
@@ -5890,7 +5896,7 @@ function validateParams2(i18nConfig, flags) {
5890
5896
  // package.json
5891
5897
  var package_default = {
5892
5898
  name: "lingo.dev",
5893
- version: "0.89.4",
5899
+ version: "0.89.6",
5894
5900
  description: "Lingo.dev CLI",
5895
5901
  private: false,
5896
5902
  publishConfig: {