Skip to content

Commit a9aaa17

Browse files
committed
cleanup
1 parent 1f09ef9 commit a9aaa17

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/GitVersion.Core/Configuration/Abstractions/IConfigFileLocator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace GitVersion.Configuration;
55
public interface IConfigFileLocator
66
{
77
string FilePath { get; }
8-
bool HasConfigFileAt(string? workingDirectory);
8+
bool HasConfigFileAt(string workingDirectory);
99
string GetConfigFilePath(string workingDirectory);
1010
void Verify(GitVersionOptions gitVersionOptions, IGitRepositoryInfo repositoryInfo);
1111
void Verify(string workingDirectory, string projectRootDirectory);

src/GitVersion.Core/Model/GitVersionOptions.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ public class GitVersionOptions
77
{
88
public string? WorkingDirectory { get; set; }
99

10-
public AssemblyInfoData AssemblyInfo { get; } = new AssemblyInfoData();
11-
public AuthenticationInfo Authentication { get; } = new AuthenticationInfo();
12-
public ConfigInfo ConfigInfo { get; } = new ConfigInfo();
13-
public RepositoryInfo RepositoryInfo { get; } = new RepositoryInfo();
14-
public WixInfo WixInfo { get; } = new WixInfo();
15-
public Settings Settings { get; } = new Settings();
10+
public AssemblyInfoData AssemblyInfo { get; } = new();
11+
public AuthenticationInfo Authentication { get; } = new();
12+
public ConfigInfo ConfigInfo { get; } = new();
13+
public RepositoryInfo RepositoryInfo { get; } = new();
14+
public WixInfo WixInfo { get; } = new();
15+
public Settings Settings { get; } = new();
1616

1717
public bool Init;
1818
public bool Diag;

0 commit comments

Comments
 (0)