modifications to dirOption

This commit is contained in:
Wyatt J. Miller 2022-12-24 22:38:53 -05:00
parent 384391add1
commit 434ba07d59

View File

@ -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<string>();
_commitDetails = new SortedList<string, int>();
_currentBranch = GetCurrentBranch();