add commit ts comment
This commit is contained in:
@@ -72,7 +72,7 @@ async function execCommandShell(
|
|||||||
args: string[],
|
args: string[],
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
const ps = spawn(command, args, {
|
const ps = spawn(command, args, {
|
||||||
// shell: true,
|
// shell: true, // when turn `shell` true will cause shell command line injection
|
||||||
stdio: ["inherit", "inherit", "inherit"],
|
stdio: ["inherit", "inherit", "inherit"],
|
||||||
});
|
});
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
@@ -321,5 +321,5 @@ main().catch((err) => {
|
|||||||
process.exit(0);
|
process.exit(0);
|
||||||
}).then(() => process.exit(0));
|
}).then(() => process.exit(0));
|
||||||
|
|
||||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260125T131632+08:00.MEUCIQDEukVWncbkfee1cb9A
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260125T131735+08:00.MEUCIHxEft36c8GHONGw4yAL
|
||||||
// nU0VP5F161xUX/x/fe8IZgb8nwIgHDtOaAzZ2UcjbJ13tD5BgsE+dfk5ifXaKjuYxdQxZGY=
|
// dZV+AcXDaG8lwOL1rCeDJv5FAiEAhCnraPe+ajy38ifHzXm3rB321EVeNVTOBEQNNxXQSms=
|
||||||
|
|||||||
Reference in New Issue
Block a user