chore:: describe removeALlGeneratedFlags

This commit is contained in:
karishmas6
2024-06-08 00:20:49 +05:30
parent 5866a6ae77
commit ed84b8b90c

View File

@@ -367,7 +367,12 @@ export class WorkflowGenerator {
this.registerEventHandlers(socket);
};
/**
* Returns the currently generated workflow without all the generated flag actions.
* @param workflow The workflow for removing the generated flag actions from.
* @private
* @returns {WorkflowFile}
*/
private removeAllGeneratedFlags = (workflow: WorkflowFile): WorkflowFile => {
for (let i = 0; i < workflow.workflow.length; i++) {
if (