Skip to content

Commit 5755513

Browse files
committed
Rename OverrideConfigOptionParser to OverrideConfigurationOptionParser
1 parent 9377a66 commit 5755513

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/GitVersion.App/ArgumentParser.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ private static void ParseOverrideConfig(Arguments arguments, IReadOnlyCollection
420420
if (values == null || values.Count == 0)
421421
return;
422422

423-
var parser = new OverrideConfigOptionParser();
423+
var parser = new OverrideConfigurationOptionParser();
424424

425425
// key=value
426426
foreach (var keyValueOption in values)
@@ -432,7 +432,7 @@ private static void ParseOverrideConfig(Arguments arguments, IReadOnlyCollection
432432
}
433433

434434
var optionKey = keyAndValue[0].ToLowerInvariant();
435-
if (!OverrideConfigOptionParser.SupportedProperties.Contains(optionKey))
435+
if (!OverrideConfigurationOptionParser.SupportedProperties.Contains(optionKey))
436436
{
437437
throw new WarningException($"Could not parse /overrideconfig option: {keyValueOption}. Unsupported 'key'.");
438438
}

src/GitVersion.App/OverrideConfigOptionParser.cs renamed to src/GitVersion.App/OverrideConfigurationOptionParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace GitVersion;
55

6-
internal class OverrideConfigOptionParser
6+
internal class OverrideConfigurationOptionParser
77
{
88
private static readonly Lazy<ILookup<string?, PropertyInfo>> _lazySupportedProperties =
99
new(GetSupportedProperties, true);

0 commit comments

Comments
 (0)