modifications to dirOption
This commit is contained in:
1 parent
384391add1
commit
434ba07d59
1 file changed
+1
-6
+1
-6
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user