Permalink
Browse files

Fix issue #155 (recursive delete fails)

  • Loading branch information...
ndw committed Sep 13, 2014
1 parent a2911a7 commit a9e1855157fd8f9f5a6334c403a694ea39094e98
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/com/xmlcalabash/extensions/fileutils/Delete.java
@@ -117,7 +117,11 @@ private void performDelete(RuntimeValue href, String base,
public void list(URI id, String media, long lastModified)
throws IOException {
String entry = id.toASCIIString();
entries.addAll(getAllEntries(entry, entry));
try {
entries.addAll(getAllEntries(entry, entry));
} catch (FileNotFoundException e) {
// ignore it, we tried to recurse through a file that wasn't a directory
}
entries.add(entry);
}
});

0 comments on commit a9e1855

Please sign in to comment.