dsa-connectors/status-checks/checks.ts
Thrilok Kumar 5a20afb8f2 minor fix
2021-12-06 04:04:43 +05:30

16 lines
271 B
TypeScript

import checkMain from "./check";
export default [
{
name: "Solidity check",
callback: async () => {
try {
await checkMain();
return "Check passed!";
} catch (error) {
throw new Error("Check failed!");
}
},
},
];