diff --git a/src/Views/Widgets/Dashboard.xaml.cs b/src/Views/Widgets/Dashboard.xaml.cs index 98c5b6e3..47ee131d 100644 --- a/src/Views/Widgets/Dashboard.xaml.cs +++ b/src/Views/Widgets/Dashboard.xaml.cs @@ -1102,7 +1102,7 @@ namespace SourceGit.Views.Widgets { if (Directory.Exists(rebaseTempFolder)) Directory.Delete(rebaseTempFolder); var rebaseFile = Path.Combine(repo.GitDir, "REBASE_HEAD"); - if (File.Exists(rebaseFile)) Directory.Delete(rebaseFile); + if (File.Exists(rebaseFile)) File.Delete(rebaseFile); var rebaseMergeFolder = Path.Combine(repo.GitDir, "rebase-merge"); if (Directory.Exists(rebaseMergeFolder)) Directory.Delete(rebaseMergeFolder);