technical-debt-radar 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +10 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18204,6 +18204,16 @@ var require_dead_code_detector = __commonJS({
|
|
|
18204
18204
|
if (project.getSourceFile("/" + indexPath))
|
|
18205
18205
|
return indexPath;
|
|
18206
18206
|
}
|
|
18207
|
+
const suffix = "/" + resolved;
|
|
18208
|
+
for (const sf of project.getSourceFiles()) {
|
|
18209
|
+
const fp = sf.getFilePath();
|
|
18210
|
+
if (fp.endsWith(suffix))
|
|
18211
|
+
return normalizeFilePath(fp);
|
|
18212
|
+
for (const ext of extensions) {
|
|
18213
|
+
if (fp.endsWith(suffix + ext))
|
|
18214
|
+
return normalizeFilePath(fp);
|
|
18215
|
+
}
|
|
18216
|
+
}
|
|
18207
18217
|
return void 0;
|
|
18208
18218
|
}
|
|
18209
18219
|
function posixDirname(filePath) {
|