@coze-arch/cli 0.0.24 → 0.0.26

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/lib/cli.js CHANGED
@@ -2107,7 +2107,7 @@ const EventBuilder = {
2107
2107
  };
2108
2108
 
2109
2109
  var name = "@coze-arch/cli";
2110
- var version = "0.0.24";
2110
+ var version = "0.0.26";
2111
2111
  var description = "coze coding devtools cli";
2112
2112
  var license = "MIT";
2113
2113
  var author = "fanwenjie.fe@bytedance.com";
@@ -9307,10 +9307,11 @@ const mergeGitignoreContent = (
9307
9307
 
9308
9308
  for (const line of newLines) {
9309
9309
  const trimmed = line.trim();
9310
- // 跳过空行和已存在的条目
9310
+ // 跳过空行和已存在的条目(同时对新内容内部去重)
9311
9311
  if (trimmed.length === 0 || existingLines.has(trimmed)) {
9312
9312
  continue;
9313
9313
  }
9314
+ existingLines.add(trimmed);
9314
9315
  linesToAppend.push(line);
9315
9316
  }
9316
9317
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coze-arch/cli",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "private": false,
5
5
  "description": "coze coding devtools cli",
6
6
  "license": "MIT",