Skip to content

Commit 3f073d6

Browse files
author
Brennon York
committed
removed the git checkouts piping to dev null
1 parent 07765a6 commit 3f073d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/tests/pr_new_dependencies.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ CURR_CP_FILE="my-classpath.txt"
3939
MASTER_CP_FILE="master-classpath.txt"
4040

4141
# First switch over to the master branch
42-
git checkout -f master &>/dev/null
42+
git checkout -f master
4343
# Find and copy all pom.xml files into a *.gate file that we can check
4444
# against through various `git` changes
4545
find -name "pom.xml" -exec cp {} {}.gate \;
4646
# Switch back to the current PR
47-
git checkout -f "${current_pr_head}" &>/dev/null
47+
git checkout -f "${current_pr_head}"
4848

4949
# Check if any *.pom files from the current branch are different from the master
5050
difference_q=""
@@ -71,7 +71,7 @@ else
7171
sort > ${CURR_CP_FILE}
7272

7373
# Checkout the master branch to compare against
74-
git checkout -f master &>/dev/null
74+
git checkout -f master
7575

7676
${MVN_BIN} clean package dependency:build-classpath -DskipTests 2>/dev/null | \
7777
sed -n -e '/Building Spark Project Assembly/,$p' | \

0 commit comments

Comments
 (0)