aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2019-04-03 23:18:28 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2019-04-03 23:18:28 -0500
commiteae8ed1552085fccbd87049fe438b2f6284b3b95 (patch)
tree472606b3b00cf07904b82a7cd3ef53811895ec12
parent9b4c18e8dc151ca0387e8d4514b8d9886d03caa7 (diff)
I hate JavaScript sometimes
-rwxr-xr-xscripts/update_manifest.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update_manifest.js b/scripts/update_manifest.js
index 19e1b152..1a06a2d7 100755
--- a/scripts/update_manifest.js
+++ b/scripts/update_manifest.js
@@ -99,11 +99,11 @@ const specialActions = changesFile ?
// Create actions based on directories to be deleted.
// Always have deeper directories first, to guarantee that deleting
// higher-level directories will succeed.
- + Array.from(dirsDeleted.values())
+ .concat(Array.from(dirsDeleted.values())
.sort((a, b) => b.split("/").length - a.split("/").length)
.map(dir => {
return { action: "deleteDir", target: dir };
- })
+ }))
: [];
const urlBase = "https://s3.wasabisys.com/ao-downloads/";