Ignore node-credential-issues on disabled nodes

This commit is contained in:
Jan Oberhauser
2020-02-09 23:18:44 -08:00
parent 2693b92021
commit 7ee03cf132
5 changed files with 40 additions and 37 deletions

View File

@@ -13,7 +13,7 @@ export async function WorkflowCredentials(nodes: INode[]): Promise<IWorkflowCred
let node, type, name, foundCredentials;
for (node of nodes) {
if (!node.credentials) {
if (node.disabled === true || !node.credentials) {
continue;
}