1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 04:57:59 +01:00

fix plugin directory sourcing so it works on Windows - don't attempt to open

the directory as an input stream
This commit is contained in:
Doug Kearns
2007-08-13 09:29:11 +00:00
parent 923a9a78de
commit 5ad83d42b4

View File

@@ -586,7 +586,7 @@ const vimperator = (function() //{{{
try try
{ {
var plugin_dir = expandPath(PLUGIN_DIR); var plugin_dir = expandPath(PLUGIN_DIR);
var fd = vimperator.fopen(plugin_dir, "<"); var fd = vimperator.fopen(plugin_dir);
var entries = fd.read(); var entries = fd.read();
fd.close(); fd.close();
entries.forEach(function(file) { entries.forEach(function(file) {