Make output even more succint. Remove duplicate cd command.
This commit is contained in:
1 parent
2a915fec69
commit
7379df38de
1 file changed
-3
@@ -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