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