fix git always throwing error
This commit is contained in:
parent
257a6b4e87
commit
931f85ffbf
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ echo
|
||||||
cd "$nix_dir" || { exit_code=1; return $exit_code; }
|
cd "$nix_dir" || { exit_code=1; return $exit_code; }
|
||||||
|
|
||||||
# === CHECK FOR UNCOMMITTED CHANGES ===
|
# === CHECK FOR UNCOMMITTED CHANGES ===
|
||||||
console-log "\n''${BOLD}''${BLUE}📁 Checking $git_bin status...''${RESET}"
|
echo "\n''${BOLD}''${BLUE}📁 Checking $git_bin status...''${RESET}"
|
||||||
if [[ -n $($git_bin status --porcelain) ]]; then
|
if [[ -n $($git_bin status --porcelain) ]]; then
|
||||||
echo "''${YELLOW}⚠️ Uncommitted changes detected!''${RESET}"
|
echo "''${YELLOW}⚠️ Uncommitted changes detected!''${RESET}"
|
||||||
echo "''${RED}⏳ 5s to cancel...''${RESET}"
|
echo "''${RED}⏳ 5s to cancel...''${RESET}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue