1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-25 06:52:27 +01:00

Fix JAR file completion.

This commit is contained in:
Doug Kearns
2016-01-11 21:32:13 +11:00
parent 13a8b46093
commit e36f8ed7cd

View File

@@ -1117,7 +1117,7 @@ unlet s:cpo_save
return Array.from(io.listJar(uri.JARFile, getDir(uri.JAREntry)),
path => ({
isDirectory: () => path.substr(-1) == "/",
leafName: /([^\/]*)\/?$/.exec(s)[1]
leafName: /([^\/]*)\/?$/.exec(path)[1]
}));
};
else