fix: check_git_status()
This commit is contained in:
@@ -31,7 +31,7 @@ pub fn check_git_status() -> bool {
|
||||
},
|
||||
Ok(stdout) => if [
|
||||
"Changes not staged for commit",
|
||||
"Yourbranch is ahead of",
|
||||
"Your branch is ahead of",
|
||||
"Untracked files" ].iter().any(|s| stdout.contains(s)) {
|
||||
warn!("Std out check failed git status: {}", stdout);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user