@aspruyt/json-config-sync 3.10.0 → 3.10.1

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/README.md CHANGED
@@ -540,7 +540,7 @@ repos:
540
540
 
541
541
  ### Executable Files
542
542
 
543
- Shell scripts (`.sh` files) are automatically marked as executable using `git update-index --chmod=+x`. You can control this behavior:
543
+ Shell scripts (`.sh` files) are automatically marked as executable using `git update-index --add --chmod=+x`. You can control this behavior:
544
544
 
545
545
  ```yaml
546
546
  files:
package/dist/git-ops.js CHANGED
@@ -115,7 +115,7 @@ export class GitOps {
115
115
  const filePath = this.validatePath(fileName);
116
116
  // Use relative path from workDir for git command
117
117
  const relativePath = relative(this.workDir, filePath);
118
- await this.exec(`git update-index --chmod=+x ${escapeShellArg(relativePath)}`, this.workDir);
118
+ await this.exec(`git update-index --add --chmod=+x ${escapeShellArg(relativePath)}`, this.workDir);
119
119
  }
120
120
  /**
121
121
  * Checks if writing the given content would result in changes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aspruyt/json-config-sync",
3
- "version": "3.10.0",
3
+ "version": "3.10.1",
4
4
  "description": "CLI tool to sync JSON or YAML configuration files across multiple GitHub and Azure DevOps repositories",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",