Fix issues parsing deletions file

This commit is contained in:
oldmud0 2019-04-03 17:10:24 -05:00
parent a5435183e4
commit 190b0d7c1e

View File

@ -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