(filePath, value)
| 33 | } |
| 34 | |
| 35 | function writeJson(filePath, value) { |
| 36 | ensureDir(path.dirname(filePath)); |
| 37 | fs.writeFileSync(filePath, `${JSON.stringify(value, null, 2)}\n`, 'utf8'); |
| 38 | } |
| 39 | |
| 40 | function registerLoop(projectRoot, contractOrOptions = {}, options = {}) { |
| 41 | const root = path.resolve(projectRoot || process.cwd()); |
no test coverage detected