Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update path package version #40

Merged
merged 1 commit into from
Apr 26, 2023
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion src/MetricHunter.Application.Shared/Resources/Resource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace MetricHunter.Application.Resources;

// TODO: Refactor
public static class Resource
{
private static readonly DirectoryPathString ResFolder = "Res";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public Task<IResult[]> CalculateMetricsByLocalResultsAsync(List<Repository> repo
baseDirectoryPath = PathHelper.TempPath;
DirectoryPathString path = baseDirectoryPath;

var files = new DirectoryInfo(path).GetFiles($"*.{FileExtension}", SearchOption.AllDirectories);
var files = path.FileSystemInfo.GetFiles($"*.{FileExtension}", SearchOption.AllDirectories);
var tasks = repositories.Select(repository => Task.Run<IResult>(() =>
{
var fileName = $"id_{repository.Id}_{repository.Name}.xml";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AdvancedPath" Version="1.0.0"/>
<PackageReference Include="AdvancedPath" Version="1.0.1"/>
<PackageReference Include="JsonNet.ContractResolvers" Version="2.0.0"/>
<PackageReference Include="Newtonsoft.Json" Version="13.0.2"/>
<PackageReference Include="Serilog" Version="2.12.0"/>
Expand Down