dsa-connectors/status-checks/checks.js
2021-05-11 19:30:13 +03:00

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!')
}
}
}]