From 94b4b86a8de758dfba5696e3f6f6ec4234329696 Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Sat, 1 Feb 2025 21:07:03 +0100 Subject: [PATCH] hepp --- lib/core/pluginLoader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/pluginLoader.js b/lib/core/pluginLoader.js index 7232f2fdf..987f7380c 100644 --- a/lib/core/pluginLoader.js +++ b/lib/core/pluginLoader.js @@ -53,7 +53,7 @@ export async function parsePluginNames(options) { console.log('PluginsDir:' + pluginsDir); console.log('__dirname:' + __dirname); - const files = await readdir(new URL(pluginsDir)); + const files = await readdir(pluginsDir); const builtins = files.map(name => path.basename(name, '.js')); // eslint-disable-next-line unicorn/no-array-callback-reference