Make output even more succint. Remove duplicate cd command.
This commit is contained in:
@@ -26,9 +26,6 @@ function reload-project {
|
|||||||
|
|
||||||
## Main ##
|
## Main ##
|
||||||
|
|
||||||
log "Checking for updates..."
|
|
||||||
cd $DIR
|
|
||||||
|
|
||||||
# Pull any updates, and if the project is already up to date, exit successfully.
|
# Pull any updates, and if the project is already up to date, exit successfully.
|
||||||
git pull | grep -v "up to date"
|
git pull | grep -v "up to date"
|
||||||
status="$?"
|
status="$?"
|
||||||
|
Reference in New Issue
Block a user