Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AigioL committed Jan 31, 2023
1 parent 70edd8d commit 3082fe9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/ProjectPathUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ static ProjectPathUtil()
static string GetProjectPath(string? path = null)
{
path ??= AppContext.BaseDirectory;
if (!Directory.GetFiles(path, "*.sln").Any())
if (!Directory.EnumerateFiles(path, "*.sln").Any())
{
var parent = Directory.GetParent(path);
if (parent == null) return string.Empty;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ public sealed class DomainConfig : IDomainConfig
[MPKey(7)]
public string? ForwardDestination { get; init; }

[MPKey(7)]
[MPKey(8)]
public string? UserAgent { get; init; }

[MPKey(8)]
[MPKey(9)]
public IReadOnlyDictionary<DomainPattern, IDomainConfig>? Items { get; init; }

IResponseConfig? IDomainConfig.Response => Response;
Expand Down

0 comments on commit 3082fe9

Please sign in to comment.