Skip to content

Commit 3f8885b

Browse files
switch to notsupportedexception
1 parent aa24ae4 commit 3f8885b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DotnetAffected.Core/ProjectDiscovery/SolutionFileProjectDiscoverer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public IEnumerable<string> DiscoverProjects(IDiscoveryOptions options)
1717

1818
var serializer = SolutionSerializers.GetSerializerByMoniker(options.FilterFilePath);
1919

20-
if (serializer is null) throw new NotImplementedException($"Filtering by {options.FilterFilePath} is not yet implemented");
20+
if (serializer is null) throw new NotSupportedException($"Filtering by {options.FilterFilePath} is not supported");
2121

2222
var solution = serializer.OpenAsync(options.FilterFilePath, CancellationToken.None).GetAwaiter().GetResult();
2323

0 commit comments

Comments
 (0)