()
| 18 | const blockEnd = "# <<< backend-log-level"; |
| 19 | |
| 20 | function logLevelBlock(): string { |
| 21 | const start = entrypoint.indexOf(blockStart); |
| 22 | const end = entrypoint.indexOf(blockEnd); |
| 23 | if (start === -1 || end === -1) { |
| 24 | throw new Error("Docker backend-log-level markers are missing"); |
| 25 | } |
| 26 | return entrypoint.slice(start, end); |
| 27 | } |
| 28 | |
| 29 | /** Resolve LOG_LEVEL / AUTOMATION_LOG_LEVEL exactly as the entrypoint does. */ |
| 30 | function resolveLogLevels(env: Record<string, string>): { |
no outgoing calls
no test coverage detected