mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
16 lines
273 B
TypeScript
16 lines
273 B
TypeScript
|
import checkMain from "./check";
|
||
|
|
||
|
module.exports = [
|
||
|
{
|
||
|
name: "Solidity check",
|
||
|
callback: async () => {
|
||
|
try {
|
||
|
await checkMain();
|
||
|
return "Check passed!";
|
||
|
} catch (error) {
|
||
|
throw new Error("Check failed!");
|
||
|
}
|
||
|
},
|
||
|
},
|
||
|
];
|