Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Commit

Permalink
typo :p
Browse files Browse the repository at this point in the history
  • Loading branch information
nrgill28 committed Apr 12, 2021
1 parent 7c1c365 commit 8757ad8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DeliCounter/Backend/ModRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ private Exception UpdateRepo()
Commands.Checkout(Repo, Repo.Head.Commits.First(x => currentCommit.Parents.Contains(x)));
e = ScanMods();
}
} catch (InvalidOperationException e)
} catch (InvalidOperationException ex)
{
// There are no commits to go back?
return e;
return ex;
}

if (commitsBack < 6)
Expand Down

0 comments on commit 8757ad8

Please sign in to comment.