aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2019-04-03 17:10:24 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2019-04-03 17:10:24 -0500
commit190b0d7c1e5e5461958ff7ec0576da7671a161c9 (patch)
tree24e92f0a4cde62cce565fbc00d6fead7ae8e0775 /scripts
parenta5435183e4a181c75624442866014c132238c7d8 (diff)
Fix issues parsing deletions file
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update_manifest.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/update_manifest.js b/scripts/update_manifest.js
index adbdc349..220439c5 100755
--- a/scripts/update_manifest.js
+++ b/scripts/update_manifest.js
@@ -58,6 +58,8 @@ if (!incrementalZipFile && !fullZipFile) {
const manifest = JSON.parse(fs.readFileSync(manifestFile));
const deleteActions = deletionsFile ? fs.readFileSync(deletionsFile)
+ .toString()
+ .trim()
.split("\n").map(file => {
// XXX: This does not delete empty directories. Finding them would
// actually be a substantial amount of work because Git does not