mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-25 20:18:25 +02:00
Updated Events - use glob for finding nested modules/etc.
This commit is contained in:
parent
b7ad850bdc
commit
7343ab2ff2
9 changed files with 96 additions and 67 deletions
|
@ -297,10 +297,10 @@ function FTNMessageScanTossModule() {
|
|||
});
|
||||
}, (err, finalSuffix) => {
|
||||
if(finalSuffix) {
|
||||
cb(null, paths.join(basePath, fileName + finalSuffix));
|
||||
} else {
|
||||
cb(new Error('Could not acquire a bundle filename!'));
|
||||
return cb(null, paths.join(basePath, fileName + finalSuffix));
|
||||
}
|
||||
|
||||
return cb(new Error('Could not acquire a bundle filename!'));
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue