(_paths, _logic)
| 129 | }; |
| 130 | |
| 131 | async function flatContracts(_paths, _logic) { |
| 132 | let promises = new Array(); |
| 133 | for (let i = 0; i < _paths.length; i++) { |
| 134 | promises.push(await exec(`./node_modules/.bin/sol-merger ${_paths[i]} ./flat`)); |
| 135 | } |
| 136 | await Promise.all(promises); |
| 137 | } |
| 138 | |
| 139 | async function getAST(_filePath) { |
| 140 | await exec(`solc -o temp --ast-json ${_filePath}`, {maxBuffer: 1024 * 1000}); |
no outgoing calls
no test coverage detected