lingo.dev 0.89.5 → 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.cjs 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 {
@@ -4809,7 +4812,7 @@ var InBranchFlow = class extends IntegrationFlow {
4809
4812
  _child_process.execSync.call(void 0, `git add .`, { stdio: "inherit" });
4810
4813
  _child_process.execSync.call(void 0, `git status --porcelain`, { stdio: "inherit" });
4811
4814
  _child_process.execSync.call(void 0,
4812
- `git commit -m "${this.platformKit.config.commitMessage}" --no-verify`,
4815
+ `git commit -m ${escapeShellArg(this.platformKit.config.commitMessage)} --no-verify`,
4813
4816
  {
4814
4817
  stdio: "inherit"
4815
4818
  }
@@ -5893,7 +5896,7 @@ function validateParams2(i18nConfig, flags) {
5893
5896
  // package.json
5894
5897
  var package_default = {
5895
5898
  name: "lingo.dev",
5896
- version: "0.89.5",
5899
+ version: "0.89.6",
5897
5900
  description: "Lingo.dev CLI",
5898
5901
  private: false,
5899
5902
  publishConfig: {