dsa-connectors/status-checks/checks.ts
Thrilok Kumar 6e0dde3dcd minor fix
2021-12-11 13:37:45 +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!");
}
},
},
];