Skip to content

Commit fd7ce08

Browse files
committed
Fix project search
1 parent fee2b3f commit fd7ce08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/StructuredLogViewer/Controls/BuildControl.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2529,10 +2529,10 @@ private bool SearchForTarget(string name)
25292529
string project = "";
25302530
if (matcher.ProjectMatchers.Count == 1)
25312531
{
2532-
project = matcher.ProjectMatchers[0].Query;
2532+
project = $" project({matcher.ProjectMatchers[0].Query})";
25332533
}
25342534

2535-
text = $"$target \"{name}\" project({project})";
2535+
text = $"$target \"{name}\"{project}";
25362536
searchLogControl.SearchText = text;
25372537
return true;
25382538
}

0 commit comments

Comments
 (0)