Formatting
This commit is contained in:
2
.editorconfig
Normal file
2
.editorconfig
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[*.cs]
|
||||||
|
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
using Alma.Configuration.Module;
|
using Alma.Configuration.Module;
|
||||||
using Alma.Configuration.Repository;
|
using Alma.Configuration.Repository;
|
||||||
using Alma.Data;
|
using Alma.Data;
|
||||||
using Alma.Helper;
|
|
||||||
using Alma.Logging;
|
using Alma.Logging;
|
||||||
using Alma.Services;
|
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("Alma " + _versionService.GetVersion());
|
||||||
_logger.LogInformation("");
|
_logger.LogInformation("");
|
||||||
@@ -87,7 +86,7 @@ public class InfoCommand : RepositoryModuleCommandBase
|
|||||||
_logger.LogInformation($"Platform is '{await _osInformation.GetOsIdentifierAsync()}'");
|
_logger.LogInformation($"Platform is '{await _osInformation.GetOsIdentifierAsync()}'");
|
||||||
_logger.LogInformation("");
|
_logger.LogInformation("");
|
||||||
|
|
||||||
if (_repositoryConfiguration.Configuration.Repositories is {Count: > 0} repositories)
|
if (_repositoryConfiguration.Configuration.Repositories is { Count: > 0 } repositories)
|
||||||
{
|
{
|
||||||
_logger.LogInformation("Repositories:");
|
_logger.LogInformation("Repositories:");
|
||||||
foreach (var repository in 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);
|
var (repoSourceDirectory, _) = GetRepositorySourceAndTargetDirectory(repoName);
|
||||||
|
|
||||||
@@ -213,4 +212,4 @@ public class InfoCommand : RepositoryModuleCommandBase
|
|||||||
_logger.LogInformation("Has no links.");
|
_logger.LogInformation("Has no links.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user