From 0431a2ec6f277984ae80ad7c51df4ca27f4565fa Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 12 Aug 2020 11:04:10 +0100 Subject: [PATCH] =?UTF-8?q?Nasal=20modules:=20don=E2=80=99t=20give=20up=20?= =?UTF-8?q?on=20an=20error.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix from Henning Stahlke --- Nasal/modules.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/modules.nas b/Nasal/modules.nas index 2eae60474..e7236bb62 100644 --- a/Nasal/modules.nas +++ b/Nasal/modules.nas @@ -340,7 +340,7 @@ var load = func(name, ns="") { _modules_available = {}; foreach (var name; io.subdirectories(MODULES_DIR)) { if (!io.is_regular_file(MODULES_DIR~"/"~name~"/"~MODULES_DEFAULT_FILENAME)) - break; + continue; _modules_available[name] = 1; MODULES_NODE.getNode(name~"/available",1).setBoolValue(1); }