create-confluence-sync 1.0.6 → 1.0.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/git.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-confluence-sync",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Bidirectional Confluence Server documentation sync via Git. Edit XHTML locally, commit, auto-sync with Confluence.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/git.js CHANGED
@@ -33,7 +33,7 @@ function getRenamedFiles(projectRoot) {
33
33
  if (!output) return [];
34
34
  const renames = [];
35
35
  for (const line of output.split('\n')) {
36
- const match = line.match(/^R\d+\t(.+)\t(.+)$/);
36
+ const match = line.match(/^R\d+\t([^\t]+)\t([^\t]+)$/);
37
37
  if (match && match[2].endsWith('.xhtml')) {
38
38
  renames.push({ from: match[1], to: match[2] });
39
39
  }