@d5render/cli 0.1.4 → 0.1.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/CHANGELOG.md +2 -9
- package/bin/d5cli +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/bin/d5cli
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { execSync, spawn } from "node:child_process";
|
|
3
3
|
import { copyFileSync, existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
|
-
import { argv, env, platform } from "node:process";
|
|
5
|
+
import { argv, env, exit, platform } from "node:process";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
|
|
8
8
|
//#region package.json
|
|
9
9
|
var name = "@d5render/cli";
|
|
10
|
-
var version = "0.1.
|
|
10
|
+
var version = "0.1.6";
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region copilot/server/config.ts
|
|
@@ -249,6 +249,7 @@ if (canireview()) {
|
|
|
249
249
|
});
|
|
250
250
|
copilot.stdout.on("data", (data) => console.log(data.toString()));
|
|
251
251
|
copilot.stderr.on("data", (data) => console.error(data.toString()));
|
|
252
|
+
copilot.on("close", (code) => exit(code));
|
|
252
253
|
}
|
|
253
254
|
function findCopilopt() {
|
|
254
255
|
let copilot = execSync("npm list @github/copilot -g -p").toString().trim();
|