Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.workflowWrapper.steps[0].in.forEach((input: WorkflowStepInputModel) => {
if (isType(input, ["File", "Directory"])) {
// create inputs from file ports
this.workflowWrapper.createInputFromPort(input);
} else {
// everything else should be exposed (show up in the step inspector)
this.workflowWrapper.exposePort(input);
}
});