@d5render/cli 0.1.24 → 0.1.25
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/bin/d5cli +14 -3
- package/package.json +1 -1
package/bin/d5cli
CHANGED
|
@@ -7,7 +7,7 @@ import { fileURLToPath } from "node:url";
|
|
|
7
7
|
|
|
8
8
|
//#region package.json
|
|
9
9
|
var name$1 = "@d5render/cli";
|
|
10
|
-
var version = "0.1.
|
|
10
|
+
var version = "0.1.25";
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region packages/gitlab/url.ts
|
|
@@ -267,10 +267,21 @@ Otherwise, use chinese as default language to call the mcp tool '${name}-${repor
|
|
|
267
267
|
"pipe",
|
|
268
268
|
"pipe"
|
|
269
269
|
],
|
|
270
|
+
env: {
|
|
271
|
+
...env,
|
|
272
|
+
NODE_NO_WARNINGS: "1",
|
|
273
|
+
PYTHONUNBUFFERED: "1"
|
|
274
|
+
},
|
|
270
275
|
...platform === "win32" && { windowsHide: true }
|
|
271
276
|
});
|
|
272
|
-
copilot.stdout.
|
|
273
|
-
copilot.stderr.
|
|
277
|
+
copilot.stdout.setEncoding("utf8");
|
|
278
|
+
copilot.stderr.setEncoding("utf8");
|
|
279
|
+
copilot.stdout.on("data", (chunk) => {
|
|
280
|
+
process.stdout.write(chunk);
|
|
281
|
+
});
|
|
282
|
+
copilot.stderr.on("data", (chunk) => {
|
|
283
|
+
process.stderr.write(chunk);
|
|
284
|
+
});
|
|
274
285
|
copilot.on("close", (code) => {
|
|
275
286
|
sendding("CRITICAL", "CRITICAL CI ERROR: 代码审查任务失败,请自行检查日志");
|
|
276
287
|
exit(code);
|