I hate JavaScript sometimes
This commit is contained in:
parent
9b4c18e8dc
commit
eae8ed1552
@ -99,11 +99,11 @@ const specialActions = changesFile ?
|
|||||||
// Create actions based on directories to be deleted.
|
// Create actions based on directories to be deleted.
|
||||||
// Always have deeper directories first, to guarantee that deleting
|
// Always have deeper directories first, to guarantee that deleting
|
||||||
// higher-level directories will succeed.
|
// higher-level directories will succeed.
|
||||||
+ Array.from(dirsDeleted.values())
|
.concat(Array.from(dirsDeleted.values())
|
||||||
.sort((a, b) => b.split("/").length - a.split("/").length)
|
.sort((a, b) => b.split("/").length - a.split("/").length)
|
||||||
.map(dir => {
|
.map(dir => {
|
||||||
return { action: "deleteDir", target: dir };
|
return { action: "deleteDir", target: dir };
|
||||||
})
|
}))
|
||||||
: [];
|
: [];
|
||||||
|
|
||||||
const urlBase = "https://s3.wasabisys.com/ao-downloads/";
|
const urlBase = "https://s3.wasabisys.com/ao-downloads/";
|
||||||
|
Loading…
Reference in New Issue
Block a user