refactor: more descriptive .reduce() param name

This commit is contained in:
Borja Canseco
2020-06-01 12:23:21 -05:00
committed by GitHub
parent 8d0bacd8ac
commit 5bee4785bb

View File

@@ -49,6 +49,6 @@ await dayOffsets
});
})
.flat()
.reduce((p, nextPromise) => p.then(nextPromise), Promise.resolve());
.reduce((commitPromises, nextPromise) => commitPromises.then(nextPromise), Promise.resolve());
await git(localPath).push(repoPath, GIT_BRANCH);