mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-21 00:15:46 +01:00
Fix JAR file completion.
This commit is contained in:
@@ -1117,7 +1117,7 @@ unlet s:cpo_save
|
|||||||
return Array.from(io.listJar(uri.JARFile, getDir(uri.JAREntry)),
|
return Array.from(io.listJar(uri.JARFile, getDir(uri.JAREntry)),
|
||||||
path => ({
|
path => ({
|
||||||
isDirectory: () => path.substr(-1) == "/",
|
isDirectory: () => path.substr(-1) == "/",
|
||||||
leafName: /([^\/]*)\/?$/.exec(s)[1]
|
leafName: /([^\/]*)\/?$/.exec(path)[1]
|
||||||
}));
|
}));
|
||||||
};
|
};
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user