From 434ba07d592ff388cabab10ad9f6b11979354539 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Sat, 24 Dec 2022 22:38:53 -0500 Subject: [PATCH] modifications to dirOption --- BLL/CommitDetail.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/BLL/CommitDetail.cs b/BLL/CommitDetail.cs index 4194a87..3c8b34c 100644 --- a/BLL/CommitDetail.cs +++ b/BLL/CommitDetail.cs @@ -36,12 +36,7 @@ public class CommitDetail public CommitDetail(string? dir) { - if (!String.IsNullOrEmpty(dir)) { - _selectedDir = dir; - } else { - _selectedDir = Directory.GetCurrentDirectory(); - } - + _selectedDir = !String.IsNullOrEmpty(dir) ? dir : Directory.GetCurrentDirectory(); _authors = new List(); _commitDetails = new SortedList(); _currentBranch = GetCurrentBranch();