diff --git a/lib/projectPreprocessor.js b/lib/projectPreprocessor.js index b9ef4309c..c16aa5344 100644 --- a/lib/projectPreprocessor.js +++ b/lib/projectPreprocessor.js @@ -98,7 +98,7 @@ class ProjectPreprocessor { async dependencyLookahead(parent, dependencies) { return Promise.all(dependencies.map(async (project) => { - if (this.isBeingProcessed(project, project)) { + if (this.isBeingProcessed(parent, project)) { return; } log.verbose(`Processing dependency lookahead for ${parent.id}: ${project.id}`);