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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user