Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
linkchw committed Aug 14, 2024
1 parent a946885 commit 4e7811b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@

REPO_DIR="name-family"

# Function to check if we are in the repository directory
check_if_in_repo() {
[ "$(basename "$(pwd)")" == "$REPO_DIR" ]
}

# Function to check if the repository directory exists
check_repo_exists() {
[ -d "$REPO_DIR" ]
}

# Function to navigate to the repository directory
navigate_to_repo() {
cd "$REPO_DIR" || { echo "Failed to change directory to '$REPO_DIR'."; exit 1; }
}
Expand Down

0 comments on commit 4e7811b

Please sign in to comment.