()
| 24 | isDebug, |
| 25 | }); |
| 26 | export const isFlowExecutionDebugEnabled = (): boolean => |
| 27 | process.env.NODE_ENV === "development" && process.env.WHMM_VERBOSE_FLOW_EXECUTION === "1"; |
| 28 | export const flowExecutionDebugLog = (context: Pick<FlowExecutionContext, "isDebug"> | undefined, ...args: any[]) => { |
| 29 | if (context?.isDebug || isFlowExecutionDebugEnabled()) { |
| 30 | console.log(...args); |
no outgoing calls
no test coverage detected