1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 22:37:58 +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
{
var plugin_dir = expandPath(PLUGIN_DIR);
var fd = vimperator.fopen(plugin_dir, "<");
var fd = vimperator.fopen(plugin_dir);
var entries = fd.read();
fd.close();
entries.forEach(function(file) {