Nasal modules: don’t give up on an error.
Fix from Henning Stahlke
This commit is contained in:
parent
a4e37063ed
commit
0431a2ec6f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue