Fix outbound confirmation and verification safety
This commit is contained in:
1 parent
b17bd09194
commit
67a461452c
20 files changed
+313
-74
No files matched your search
@@ -148,6 +148,7 @@ export async function handleWebhookCommand(
|
||||
const docIdSuffix = stringOption(args.options.docIdSuffix) ?? stringOption(args.options["doc-id-suffix"]);
|
||||
const docIdPrefix = stringOption(args.options.docIdPrefix) ?? stringOption(args.options["doc-id-prefix"]);
|
||||
const dryRun = booleanOption(args.options.dryRun) ?? booleanOption(args.options["dry-run"]);
|
||||
const confirm = booleanOption(args.options.yes) === true || booleanOption(args.options.confirm) === true;
|
||||
|
||||
const channel =
|
||||
stringOption(args.options.channel) ??
|
||||
@@ -178,6 +179,7 @@ export async function handleWebhookCommand(
|
||||
rejectionNum,
|
||||
targetSignKey,
|
||||
dryRun,
|
||||
confirm,
|
||||
force
|
||||
});
|
||||
|
||||
@@ -207,7 +209,8 @@ export async function handleWebhookCommand(
|
||||
snSuffix,
|
||||
docIdPrefix,
|
||||
docIdSuffix,
|
||||
dryRun
|
||||
dryRun,
|
||||
confirm
|
||||
});
|
||||
|
||||
if (dryRun) {
|
||||
|
||||
Reference in new issue
Block a user