diff options
-rw-r--r-- | plugin_loader.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin_loader.js b/plugin_loader.js index af50912..253db22 100644 --- a/plugin_loader.js +++ b/plugin_loader.js @@ -25,7 +25,7 @@ function toArray (obj) { let roots = toArray(globalVariables.plugin_loader_roots); let plugins = toArray(globalVariables.plugin_loader_plugins); -let filter = new RegExp("[\\\\/](" + plugins.join('|') + ")\.(js|vimp)$"); +let filter = new RegExp('[\\\\/](' + plugins.join('|') + ')\\.(js|vimp)$'); log('plugin_loader: loading'); |