Skip to content

Commit

Permalink
Update Manager.cs
Browse files Browse the repository at this point in the history
Forgot some more ReadLines
  • Loading branch information
samihan-m committed Jan 9, 2024
1 parent f9be0a6 commit 03fb129
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Manager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,17 @@ public static async Task Main(string[] args)

if (Directory.Exists(saveDirectory) == false)
{
Console.WriteLine($"Error: The provided save directory `{saveDirectory}` does not exist.");
Console.WriteLine($"Error: The provided save directory `{saveDirectory}` does not exist. Press enter to exit.");
Console.ReadLine();
return;
}

string GitDirectory = Path.Combine(saveDirectory, ".git");

if (Directory.Exists(GitDirectory) == false)
{
Console.WriteLine($"Error: The provided save directory `{saveDirectory}` does not contain a git repository. Initialize one before running this manager.");
Console.WriteLine($"Error: The provided save directory `{saveDirectory}` does not contain a git repository. Initialize one before running this manager. Press enter to exit.");
Console.ReadLine();
return;
}

Expand Down

0 comments on commit 03fb129

Please sign in to comment.