diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-09 18:06:02 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-09 18:06:02 +0200 |
commit | c217e60ff6d7adfef96548e88a382a55c711bde3 (patch) | |
tree | 48658a428baba0b3f54f87b2a7bf55bb2de1e2e2 /bundle/scripts/build.js | |
parent | :sparkles: added read state (diff) | |
download | server-c217e60ff6d7adfef96548e88a382a55c711bde3.tar.xz |
:bug: fix build.js?
Diffstat (limited to '')
-rw-r--r-- | bundle/scripts/build.js | 2 |
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 */ |