(context: Pick<FlowExecutionContext, "isDebug"> | undefined, ...args: any[])
| 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); |
| 31 | } |
| 32 | }; |
| 33 | export const buildReadPackCacheKey = (packPath: string, packReadingOptions: PackReadingOptions): string => { |
| 34 | const keyPayload = { |
| 35 | packPath, |
no test coverage detected