We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc251f7 commit 63aa1aaCopy full SHA for 63aa1aa
1 file changed
src/org/netbeans/modules/php/wordpress/util/GithubZipEntryFilter.java
@@ -96,6 +96,9 @@ public String getPath(ZipEntry entry) {
96
String path = entry.getName();
97
String[] splitPath = splitPath(path);
98
String topDirectory = splitPath[0];
99
+ if (topDirectories == null) {
100
+ return path;
101
+ }
102
if (splitPath.length == 1 || topDirectories.contains(topDirectory)) {
103
return path;
104
}
0 commit comments