1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-22 02:31:36 +02:00

🐛 fix build.js?

This commit is contained in:
Flam3rboy 2021-10-09 18:06:02 +02:00
parent da030aaff2
commit 32db61d8ca

View File

@ -89,7 +89,7 @@ function walk(dir) {
var results = [];
var list = fs.readdirSync(dir);
list.forEach(function (file) {
file = dir + "/" + file;
file = path.join(dir, file);
var stat = fs.statSync(file);
if (stat && stat.isDirectory()) {
/* Recurse into a subdirectory */