Skip to main content

Function: tryResolveWorkflowsPath()

tryResolveWorkflowsPath(input, cwd?): object

Defined in: src/workflow-bundle/resolve-workflows-path.ts:54

Same lookup as resolveWorkflowsPath, but reports the problem instead of throwing. The worker uses this for a plain workflowsPath so existing apps and mocked-SDK tests keep today's behavior (the SDK reports its own error); autoBundle uses the throwing form.

Parameters​

input​

string

cwd?​

string = ...

Returns​

object

error?​

optional error?: Error

path?​

optional path?: string