Skip to content

Commit ce385fd

Browse files
author
Amitla Vannikumar
committed
nit changes
1 parent 3b84779 commit ce385fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Microsoft.ComponentDetection.Detectors/go/GoComponentWithReplaceDetector.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ private void RecordBuildDependencies(string goListOutput, ISingleFileComponentRe
492492
singleFileComponentRecorder.RegisterUsage(new DetectedComponent(goComponent), isExplicitReferencedDependency: true);
493493
}
494494
}
495+
if(dependency.Replace != null && dependency.Replace.Path != null && dependency.Replace.Version == null
495496
}
496497

497498
private bool TryCreateGoComponentFromRelationshipPart(string relationship, out GoComponent goComponent)

0 commit comments

Comments
 (0)