fix(workflow): require confirmation and honor dry-run for node grants
This commit is contained in:
1 parent
fac81b08e8
commit
0e6090a92c
5 files changed
+242
-214
No files matched your search
@@ -147,7 +147,7 @@ describe("CLI - workflow nodes 字典探针与灰度开通测试", () => {
|
||||
area: "workflow",
|
||||
action: "nodes",
|
||||
args: ["grant", "code-js2"],
|
||||
options: {},
|
||||
options: { yes: true },
|
||||
raw: ["workflow", "nodes", "grant", "code-js2"],
|
||||
},
|
||||
mockRuntime
|
||||
@@ -180,7 +180,7 @@ describe("CLI - workflow nodes 字典探针与灰度开通测试", () => {
|
||||
area: "workflow",
|
||||
action: "nodes",
|
||||
args: ["grant", "JS节点(新)"],
|
||||
options: {},
|
||||
options: { yes: true },
|
||||
raw: ["workflow", "nodes", "grant", "JS节点(新)"],
|
||||
},
|
||||
mockRuntime
|
||||
|
||||
Reference in new issue
Block a user