(stdout: string, key: "Registered" | "Running")
| 87 | }; |
| 88 | |
| 89 | const statusValue = (stdout: string, key: "Registered" | "Running"): boolean => |
| 90 | new RegExp(`^${key}:\\s+yes(?:\\s|$)`, "im").test(stdout); |
| 91 | |
| 92 | export const supervisedServiceStatus = async (): Promise<SupervisedServiceStatus> => { |
| 93 | if (!executorAvailable()) return { supported: false, registered: false, running: false }; |
no outgoing calls
no test coverage detected