Slightly more correct but probably same effect

This commit is contained in:
Radon Rosborough 2021-03-23 19:14:01 -07:00
parent e1ed1452ec
commit 17d0167611
1 changed files with 2 additions and 1 deletions

View File

@ -335,7 +335,8 @@ async function executeDepGraph({ depgraph, manual, publish, yes, targets }) {
promises.published[target] = artifacts[target].getPublishedHash(info);
promises.desired[target] = (async () => {
if (manual) {
return null;
// Artifact has no dependencies in this case.
return await artifacts[target].getDesiredHash({});
}
const dependencyHashes = {};
for (const dependency of artifacts[target].dependencies) {