From 7bec1f1e686fa810b09637bbd3b0045b90a1b897 Mon Sep 17 00:00:00 2001 From: nikiforovall Date: Tue, 13 Aug 2024 10:07:44 +0300 Subject: [PATCH] fix: fix invalid name for default solution --- src/Dependify.Core/Graph/SolutionReferenceNode.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dependify.Core/Graph/SolutionReferenceNode.cs b/src/Dependify.Core/Graph/SolutionReferenceNode.cs index 1ffdf6e..0ca518b 100644 --- a/src/Dependify.Core/Graph/SolutionReferenceNode.cs +++ b/src/Dependify.Core/Graph/SolutionReferenceNode.cs @@ -4,7 +4,7 @@ namespace Dependify.Core.Graph; public sealed record SolutionReferenceNode : Node { - public bool IsEmpty => this.Id == ""; + public bool IsEmpty => this.Id == "$default.sln"; public SolutionReferenceNode(string? path = default) { @@ -17,7 +17,7 @@ public SolutionReferenceNode(string? path = default) } else { - this.Id = ""; + this.Id = "$default.sln"; } }