Skip to content

Commit 905505e

Browse files
committed
fix: Universally use single-hyphen ascii arrowheads
1 parent 7574cec commit 905505e

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

pkg/lib/commands/do-list.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ echo_package_info() {
121121
if [ "$flag_fetch" = yes ]; then
122122
local git_output=
123123
if ! git_output="$(git -C "$pkg_path" fetch 2>&1)"; then
124-
printf " --> %s\n" "Git output:"
125-
printf " --> %s\n" "${git_output%.}"
124+
printf " -> %s\n" "Git output:"
125+
printf " -> %s\n" "${git_output%.}"
126126
fi
127127
fi
128128

pkg/lib/commands/do-plumbing-clone.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ do-plumbing-clone() {
3030
local git_output=
3131
if ! git_output="$(git clone "${git_args[@]}" 2>&1)"; then
3232
log.error "Could not clone repository"
33-
printf " --> %s\n" "Git output:"
34-
printf " --> %s\n" "${git_output%.}"
33+
printf " -> %s\n" "Git output:"
34+
printf " -> %s\n" "${git_output%.}"
3535
exit 1
3636
fi
3737

@@ -46,9 +46,9 @@ do-plumbing-clone() {
4646
printf "%s\n" " -> Reseting to revision '$ref'"
4747
else
4848
log.error "Could not reset to particular revision '$ref'"
49-
printf " --> %s\n" "Is '$ref' actually in '$id'?"
50-
printf " --> %s\n" "Git output:"
51-
printf " --> %s\n" "${git_output%.}"
49+
printf " -> %s\n" "Is '$ref' actually in '$id'?"
50+
printf " -> %s\n" "Git output:"
51+
printf " -> %s\n" "${git_output%.}"
5252
exit 1
5353
fi
5454

pkg/lib/commands/do-upgrade.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ do_actual_upgrade() {
115115
local git_output=
116116
if ! git_output="$(git -C "$BPM_PACKAGES_PATH/$id" pull 2>&1)"; then
117117
log.error "Could not update Git repository"
118-
printf " --> %s\n" "Git output:"
119-
printf " --> %s\n" "${git_output%.}"
118+
printf " -> %s\n" "Git output:"
119+
printf " -> %s\n" "${git_output%.}"
120120
exit 1
121121
fi
122122

pkg/lib/util/ensure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ensure.package_exists() {
3737

3838
if [ ! -d "$BPM_PACKAGES_PATH/$id" ]; then
3939
log.error "Package '$id' does not exist"
40-
printf " --> %s" "'$BPM_PACKAGES_PATH/$id'"
40+
printf " -> %s" "'$BPM_PACKAGES_PATH/$id'"
4141
exit 1
4242
fi
4343
}

0 commit comments

Comments
 (0)