Skip to content

Commit

Permalink
fix(bpmn-service): remove unnecessary conditional operator
Browse files Browse the repository at this point in the history
  • Loading branch information
akshatdubeysf committed Jul 19, 2021
1 parent 4e17e33 commit b9dca4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class WorkerRegisterFnProvider implements Provider<WorkerRegisterFn> {
if (!workerMap) {
workerMap = {};
}
if (workerMap?.[workflowName]) {
if (workerMap[workflowName]) {
workerMap[workflowName].push({topic, command, running: false});
} else {
workerMap[workflowName] = [{topic, command, running: false}];
Expand Down

0 comments on commit b9dca4f

Please sign in to comment.