Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
infil00p committed Aug 14, 2012
2 parents fffaa9b + 6195b2c commit ee07cbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion framework/src/org/apache/cordova/FileUtils.java
Expand Up @@ -298,7 +298,9 @@ private JSONArray readEntries(String fileName) throws FileNotFoundException, JSO
if (fp.isDirectory()) {
File[] files = fp.listFiles();
for (int i = 0; i < files.length; i++) {
entries.put(getEntry(files[i]));
if (files[i].canRead()) {
entries.put(getEntry(files[i]));
}
}
}

Expand Down

0 comments on commit ee07cbe

Please sign in to comment.