Skip to content

Commit

Permalink
fix(wf): replace double slash
Browse files Browse the repository at this point in the history
  • Loading branch information
mav-rik committed Jan 18, 2024
1 parent af0e275 commit cd140d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/event-wf/src/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class WooksWorkflow<T> extends Workflow<T> {
}

protected resolveStep<I, D>(stepId: string): Step<T, I, D> {
const stepIdNorm = stepId.replace(/\/\/+/g, '/')
const stepIdNorm = '/' + stepId.replace(/\/\/+/g, '/')
try {
useWFContext()
const found = this.wooks.lookup('WF_STEP' as 'GET', stepIdNorm)
Expand Down

0 comments on commit cd140d7

Please sign in to comment.