summary refs log tree commit diff
path: root/bundle
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-09 18:06:02 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-09 18:06:02 +0200
commitc217e60ff6d7adfef96548e88a382a55c711bde3 (patch)
tree48658a428baba0b3f54f87b2a7bf55bb2de1e2e2 /bundle
parent:sparkles: added read state (diff)
downloadserver-c217e60ff6d7adfef96548e88a382a55c711bde3.tar.xz
:bug: fix build.js?
Diffstat (limited to 'bundle')
-rw-r--r--bundle/scripts/build.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle/scripts/build.js b/bundle/scripts/build.js
index 05cf37ce..4266942f 100644
--- a/bundle/scripts/build.js
+++ b/bundle/scripts/build.js
@@ -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 */