From d11a72272e225617b3bf7ea2ea3dcbae7fd8c143 Mon Sep 17 00:00:00 2001 From: J-N-K Date: Thu, 19 Aug 2021 14:00:40 +0200 Subject: [PATCH] make ScriptLibraryWatcher accessible for other languages (#2456) Signed-off-by: Jan N. Klug --- .../rulesupport/internal/loader/ScriptLibraryWatcher.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bundles/org.openhab.core.automation.module.script.rulesupport/src/main/java/org/openhab/core/automation/module/script/rulesupport/internal/loader/ScriptLibraryWatcher.java b/bundles/org.openhab.core.automation.module.script.rulesupport/src/main/java/org/openhab/core/automation/module/script/rulesupport/internal/loader/ScriptLibraryWatcher.java index 2f8ba5f0ea..b298f2d795 100644 --- a/bundles/org.openhab.core.automation.module.script.rulesupport/src/main/java/org/openhab/core/automation/module/script/rulesupport/internal/loader/ScriptLibraryWatcher.java +++ b/bundles/org.openhab.core.automation.module.script.rulesupport/src/main/java/org/openhab/core/automation/module/script/rulesupport/internal/loader/ScriptLibraryWatcher.java @@ -28,8 +28,7 @@ import org.openhab.core.service.AbstractWatchService; */ abstract class ScriptLibraryWatcher extends AbstractWatchService { - public static final String LIB_PATH = String.join(File.separator, OpenHAB.getConfigFolder(), "automation", "lib", - "javascript"); + public static final String LIB_PATH = String.join(File.separator, OpenHAB.getConfigFolder(), "automation", "lib"); ScriptLibraryWatcher() { super(LIB_PATH);