fix(pnpm): Existence checks were failing the tests.
@@ -89,10 +89,7 @@ public class PnpmLockYamlParser {
private File generateCodeLocationSourcePath(File sourcePath, @Nullable String reportingProjectPackagePath) {
if (StringUtils.isNotEmpty(reportingProjectPackagePath)) {
- File reportingProjectFile = new File(sourcePath, reportingProjectPackagePath);
- if (reportingProjectFile.exists()) {
- return reportingProjectFile;
- }
+ return new File(sourcePath, reportingProjectPackagePath);
}
return sourcePath;
}
