mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 10:25:47 +01:00
Fix some stupid bugs in newer JägerMonkey. Closes issue #86.
This commit is contained in:
@@ -160,7 +160,7 @@ const IO = Module("io", {
|
||||
getRuntimeDirectories: function (name) {
|
||||
let dirs = options["runtimepath"];
|
||||
|
||||
dirs = dirs.map(function (dir) File.joinPaths(dir, name, this.cwd))
|
||||
dirs = dirs.map(function (dir) File.joinPaths(dir, name, this.cwd), this)
|
||||
.filter(function (dir) dir.exists() && dir.isDirectory() && dir.isReadable());
|
||||
return dirs;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user