chore: describe AddGeneratedFLags

This commit is contained in:
karishmas6
2024-06-08 00:21:48 +05:30
parent 928b7dd93c
commit 91ff46d8f0

View File

@@ -385,7 +385,12 @@ export class WorkflowGenerator {
return workflow;
};
/**
* Adds generated flag actions to the workflow's pairs' what conditions.
* @param workflow The workflow for adding the generated flag actions from.
* @private
* @returns {WorkflowFile}
*/
public AddGeneratedFlags = (workflow: WorkflowFile): WorkflowFile => {
const copy = JSON.parse(JSON.stringify(workflow));
for (let i = 0; i < workflow.workflow.length; i++) {