()
| 50 | } |
| 51 | |
| 52 | function replaceFileNameInFiles() { |
| 53 | const dir = path.resolve(__dirname, "../lib-mt/"); |
| 54 | const extension = '.js'; |
| 55 | const searchString = 'libpag.js'; |
| 56 | const files = getFilesInDir(dir, extension); |
| 57 | |
| 58 | files.forEach(file => { |
| 59 | const fileName = path.basename(file); |
| 60 | replaceInFile(file, searchString, fileName); |
| 61 | }); |
| 62 | } |
| 63 | |
| 64 | function getDepth(filePath, rootDir) { |
| 65 | const relative = path.relative(rootDir, path.dirname(filePath)); |
no test coverage detected