feat(helm): Add inline custom terms configuration, fix symlink detection (#1585)
This commit is contained in:
@@ -32,7 +32,9 @@ module.exports = function defineTermsHook(sails) {
|
||||
});
|
||||
|
||||
return entries
|
||||
.filter((entry) => entry.isFile() && path.extname(entry.name) === '.md')
|
||||
.filter(
|
||||
(entry) => (entry.isFile() || entry.isSymbolicLink()) && path.extname(entry.name) === '.md',
|
||||
)
|
||||
.map((entry) => path.basename(entry.name, '.md'))
|
||||
.sort();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user