summaryrefslogtreecommitdiff
path: root/dev/build.js
diff options
context:
space:
mode:
Diffstat (limited to 'dev/build.js')
-rw-r--r--dev/build.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/build.js b/dev/build.js
index 9cbbd518..55358e59 100644
--- a/dev/build.js
+++ b/dev/build.js
@@ -62,7 +62,7 @@ async function createZip(directory, excludeFiles, outputFileName, sevenZipExes,
async function createJSZip(directory, excludeFiles, outputFileName, onUpdate, dryRun) {
const JSZip = util.JSZip;
- const files = getAllFiles(directory, directory);
+ const files = getAllFiles(directory);
removeItemsFromArray(files, excludeFiles);
const zip = new JSZip();
for (const fileName of files) {