Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/NerdBank.GitVersioning/VersionFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protected VersionFile(GitContext context)
public bool IsVersionDefined() => this.GetVersion() is object;

/// <inheritdoc cref="GetWorkingCopyVersion(out string?)"/>
public VersionOptions? GetWorkingCopyVersion() => this.GetWorkingCopyVersion(out string _);
public VersionOptions? GetWorkingCopyVersion() => this.GetWorkingCopyVersion(out _);

/// <summary>
/// Reads the version file from the working tree and returns the <see cref="VersionOptions"/> deserialized from it.
Expand Down Expand Up @@ -213,7 +213,7 @@ protected static VersionOptions TryReadVersionFile(TextReader versionTextContent
{
if (parentDirectory is object)
{
result = this.GetWorkingCopyVersion(parentDirectory, out string _);
result = this.GetWorkingCopyVersion(parentDirectory, out _);
if (result is object)
{
JsonConvert.PopulateObject(
Expand Down