technical-debt-radar 1.14.0 → 1.14.1
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 +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22023,6 +22023,8 @@ async function quickScanFile(targetPath, filePath, options) {
|
|
|
22023
22023
|
}
|
|
22024
22024
|
function resolveViolationPath(vFile, projectRoot) {
|
|
22025
22025
|
if (path5.isAbsolute(vFile)) return vFile;
|
|
22026
|
+
const withSlash = "/" + vFile;
|
|
22027
|
+
if (withSlash.startsWith(projectRoot)) return withSlash;
|
|
22026
22028
|
return path5.resolve(projectRoot, vFile);
|
|
22027
22029
|
}
|
|
22028
22030
|
function detectTestCommand(projectRoot) {
|