Skip to content

Commit 52155a6

Browse files
authored
Reorder search patterns for Pnpm component detection (#1782)
1 parent 445a1a2 commit 52155a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Microsoft.ComponentDetection.Detectors/pnpm/PnpmComponentDetectorFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public PnpmComponentDetectorFactory(
3838

3939
public override IEnumerable<string> Categories => [Enum.GetName(typeof(DetectorClass), DetectorClass.Npm)];
4040

41-
public override IList<string> SearchPatterns { get; } = ["shrinkwrap.yaml", "pnpm-lock.yaml"];
41+
public override IList<string> SearchPatterns { get; } = ["pnpm-lock.yaml", "shrinkwrap.yaml"];
4242

4343
public override IEnumerable<ComponentType> SupportedComponentTypes { get; } = [ComponentType.Npm];
4444

0 commit comments

Comments
 (0)