Transpiled JS
This commit is contained in:
-3
@@ -36237,9 +36237,6 @@ class ComponentDetection {
|
||||
for (const absPath in dependencyGraphs) {
|
||||
// Make the path relative to the baseDir
|
||||
let relPath = path_1.default.relative(baseDir, absPath).replace(/\\/g, '/');
|
||||
// Ensure leading slash to represent repo root
|
||||
if (!relPath.startsWith('/'))
|
||||
relPath = '/' + relPath;
|
||||
normalized[relPath] = dependencyGraphs[absPath];
|
||||
}
|
||||
return normalized;
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user