feat: add autoConfig/ better types for wrapperData

This commit is contained in:
BluJ
2023-04-19 17:23:16 -06:00
parent 7c4f94ba8f
commit e279711f8e
39 changed files with 431 additions and 291 deletions

View File

@@ -17,7 +17,7 @@ export const runHealthScript = async <A extends string>(
errorMessage = `Error while running command: ${runCommand}`,
message = (res: string) =>
`Have ran script ${runCommand} and the result: ${res}`,
} = {}
} = {},
): Promise<CheckResult> => {
const res = await Promise.race([
effects.runCommand(runCommand, { timeoutMillis: timeout }),