Skip to content

Node.js based forum software built for the modern web

removed .gitignore from list of sound files

Julian Lam7bc9e4439a19
diff --git a/src/meta/sounds.js b/src/meta/sounds.js
index d13ecd70cd..4b85f681cb 100644
--- a/src/meta/sounds.js
+++ b/src/meta/sounds.js
@@ -38,6 +38,11 @@ module.exports = function(Meta) {
], function(err, files) {
var localList = {};
+ // Filter out hidden files
+ files = files.filter(function(filename) {
+ return !filename.startsWith('.');
+ });
+
if (err) {
winston.error('Could not get local sound files:' + err.message);
console.log(err.stack);