(logicContractName, proxyContractName, fileList)
| 115 | }; |
| 116 | |
| 117 | var findPath = function(logicContractName, proxyContractName, fileList) { |
| 118 | let paths = new Array(); |
| 119 | for (let i = 0; i < fileList.length; i++) { |
| 120 | if ( |
| 121 | logicContractName === path.basename(fileList[i]) || |
| 122 | logicContractName === path.basename(fileList[i]).split(".")[0] || |
| 123 | (proxyContractName === path.basename(fileList[i]) || proxyContractName === path.basename(fileList[i]).split(".")[0]) |
| 124 | ) { |
| 125 | paths.push(fileList[i]); |
| 126 | } |
| 127 | } |
| 128 | return paths; |
| 129 | }; |
| 130 | |
| 131 | async function flatContracts(_paths, _logic) { |
| 132 | let promises = new Array(); |
no outgoing calls
no test coverage detected