mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-23 17:41:28 +01:00
patch for issue #285
This commit is contained in:
@@ -127,17 +127,18 @@ public class App {
|
|||||||
try {
|
try {
|
||||||
engine = new Engine();
|
engine = new Engine();
|
||||||
List<String> antStylePaths = new ArrayList<String>();
|
List<String> antStylePaths = new ArrayList<String>();
|
||||||
if (excludes == null || excludes.length == 0) {
|
//removed and treating everything as an ant style path to ensure sym links are handled correctly.
|
||||||
for (String file : files) {
|
// if (excludes == null || excludes.length == 0) {
|
||||||
if (file.contains("*") || file.contains("?")) {
|
// for (String file : files) {
|
||||||
antStylePaths.add(file);
|
// if (file.contains("*") || file.contains("?")) {
|
||||||
} else {
|
// antStylePaths.add(file);
|
||||||
engine.scan(file);
|
// } else {
|
||||||
}
|
// engine.scan(file);
|
||||||
}
|
// }
|
||||||
} else {
|
// }
|
||||||
antStylePaths = Arrays.asList(files);
|
// } else {
|
||||||
}
|
antStylePaths = Arrays.asList(files);
|
||||||
|
// }
|
||||||
|
|
||||||
final Set<File> paths = new HashSet<File>();
|
final Set<File> paths = new HashSet<File>();
|
||||||
for (String file : antStylePaths) {
|
for (String file : antStylePaths) {
|
||||||
|
|||||||
Reference in New Issue
Block a user