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