Skip to content

Commit b28da87

Browse files
committed
chore: add missing quiet parameters when checking out a branch
1 parent b5affd5 commit b28da87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/pit/lib/lib-demos.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ checkoutDemo() {
2626
else
2727
cmd "cd $_workdir"
2828
cd "$_workdir"
29-
runCmd -f "Reseting local changes in $_repo" "git reset --hard HEAD" || return 1
29+
runCmd -f "Reseting local changes in $_repo" "git reset $_quiet --hard HEAD" || return 1
3030
runCmd -f "Deleting preexisting .out files" "rm -rf *.out"
3131

3232
fi
33-
[ -z "$_branch" ] || (cmd "git checkout $_branch" && git checkout $_quiet "$_branch")
33+
[ -z "$_branch" ] || (cmd "git checkout $_quiet $_branch" && git checkout $_quiet "$_branch")
3434
}
3535
## returns the github repo URL of a demo
3636
getGitRepo() {
@@ -146,7 +146,7 @@ getInstallCmdDev() {
146146
*-gradle) echo "$GRADLE clean" ;;
147147
multi-module-example) echo "$MVN -ntp -B clean install -DskipTests $PNPM";;
148148
start) echo "rm -rf package-lock.json node_modules target frontend/generated; $MVN -ntp -B clean";;
149-
*) echo "$MVN -ntp -B clean -DskipTests $PNPM";;
149+
*) echo "$MVN -ntp -B clean $PNPM";;
150150
esac
151151
}
152152
## Get install command for prod-mode

0 commit comments

Comments
 (0)