Skip to content

Commit 2692343

Browse files
authored
enhance: improve readability of default clone dir errors. (#813)
1 parent 0265883 commit 2692343

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ViewModels/Welcome.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ public void ScanDefaultCloneDir()
119119
{
120120
var defaultCloneDir = Preference.Instance.GitDefaultCloneDir;
121121
if (string.IsNullOrEmpty(defaultCloneDir))
122-
App.RaiseException(PopupHost.Active.GetId(), "The default clone dir haven't been configured!");
122+
App.RaiseException(PopupHost.Active.GetId(), "The default clone dir hasn't been configured!");
123123
else if (!Directory.Exists(defaultCloneDir))
124-
App.RaiseException(PopupHost.Active.GetId(), $"The default clone dir '{defaultCloneDir}' is not exists!");
124+
App.RaiseException(PopupHost.Active.GetId(), $"The default clone dir '{defaultCloneDir}' does not exist!");
125125
else if (PopupHost.CanCreatePopup())
126126
PopupHost.ShowAndStartPopup(new ScanRepositories(defaultCloneDir));
127127
}

0 commit comments

Comments
 (0)