From e36f8ed7cdf5f08f2462b047fce5e043f1fa19e6 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Mon, 11 Jan 2016 21:32:13 +1100 Subject: [PATCH] Fix JAR file completion. --- common/modules/io.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/modules/io.jsm b/common/modules/io.jsm index ccfc0b1a..7468d182 100644 --- a/common/modules/io.jsm +++ b/common/modules/io.jsm @@ -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