Skip to content

Commit 14c96dc

Browse files
committed
forgot to update error messages #27
1 parent c8a9cc9 commit 14c96dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ impl fmt::Debug for Error {
620620
Error::SourceCodeNotFound => "Could not find any source code in this directory",
621621
Error::GitNotInstalled => "Git failed to execute",
622622
Error::NoGitData => "Could not retrieve git configuration data",
623-
Error::ReadDirectory => "Could not read directory ./",
624-
Error::NotGitRepo => "You are not at the root of a Git Repo",
623+
Error::ReadDirectory => "Could not read directory",
624+
Error::NotGitRepo => "This is not a Git Repo",
625625
Error::TooFewArgs => "Too few arguments. Expected program name and a single argument.",
626626
Error::TooManyArgs => "Too many arguments. Expected a single argument.",
627627
};

0 commit comments

Comments
 (0)