(rootDir)
| 73 | } |
| 74 | |
| 75 | function replacePathInFiles(rootDir) { |
| 76 | const extension = '.d.ts'; |
| 77 | const searchString = '@tgfx/'; |
| 78 | |
| 79 | const files = getFilesInDir(rootDir, extension); |
| 80 | |
| 81 | files.forEach(file => { |
| 82 | const depth = getDepth(file, rootDir); |
| 83 | const targetStr = buildReplacementPath(depth); |
| 84 | replaceInFile(file, searchString, targetStr); |
| 85 | }); |
| 86 | } |
| 87 | |
| 88 | if(argv.a ==="wasm-mt" || argv.a ==="wasm"){ |
| 89 | restoreFile(filePath); |
no test coverage detected