Formatting

This commit is contained in:
2023-03-09 21:26:56 +01:00
parent 1f4427644c
commit 82f5a990f3
2 changed files with 6 additions and 5 deletions

2
.editorconfig Normal file
View File

@@ -0,0 +1,2 @@
[*.cs]

View File

@@ -1,7 +1,6 @@
using Alma.Configuration.Module;
using Alma.Configuration.Repository;
using Alma.Data;
using Alma.Helper;
using Alma.Logging;
using Alma.Services;
@@ -66,7 +65,7 @@ public class InfoCommand : RepositoryModuleCommandBase
}
}
async Task ProcessGeneralInfoAsync()
private async Task ProcessGeneralInfoAsync()
{
_logger.LogInformation("Alma " + _versionService.GetVersion());
_logger.LogInformation("");
@@ -87,7 +86,7 @@ public class InfoCommand : RepositoryModuleCommandBase
_logger.LogInformation($"Platform is '{await _osInformation.GetOsIdentifierAsync()}'");
_logger.LogInformation("");
if (_repositoryConfiguration.Configuration.Repositories is {Count: > 0} repositories)
if (_repositoryConfiguration.Configuration.Repositories is { Count: > 0 } repositories)
{
_logger.LogInformation("Repositories:");
foreach (var repository in repositories)
@@ -107,7 +106,7 @@ public class InfoCommand : RepositoryModuleCommandBase
}
}
async Task ProcessRepoInfoAsync(string repoName)
private async Task ProcessRepoInfoAsync(string repoName)
{
var (repoSourceDirectory, _) = GetRepositorySourceAndTargetDirectory(repoName);
@@ -213,4 +212,4 @@ public class InfoCommand : RepositoryModuleCommandBase
_logger.LogInformation("Has no links.");
}
}
}
}