Commit 8c5034c6 authored by Jesper Öqvist's avatar Jesper Öqvist
Browse files

Use canonical file to get file list

parent acfb136b
......@@ -162,7 +162,7 @@ aspect PathPart {
try {
File canonical = pkgFolder.getCanonicalFile();
if (canonical.isDirectory() && canonical.getName().equals(name)) {
String[] files = pkgFolder.list();
String[] files = canonical.list();
if (files.length > 0) {
fileSet = new HashSet<String>();
for (String file: files) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment