Skip to content

Commit fac8ad4

Browse files
committed
style: remove unnecessary escape for builtin
1 parent 1b44b48 commit fac8ad4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/docker-build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
# shellcheck disable=SC2086
7878
VERSION="$(\grep ${IMAGE}/Dockerfile -e '^FROM' | \head -n 1 | \sed -e 's/@.*$//; s/^.*://;')"
7979
if [[ "${VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] ; then
80-
\echo "VERSION=${VERSION}" >> "${GITHUB_ENV}"
80+
echo "VERSION=${VERSION}" >> "${GITHUB_ENV}"
8181
fi
8282
- name: Check if release already exists
8383
if: env.VERSION != ''

maven-check-versions/maven-check-versions.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,22 @@ fi
2626
# Support working_directory input if used as GitHub action
2727
if [ -n "${INPUT_WORKING_DIRECTORY+x}" ]; then
2828
if [ "${DEBUG}" = true ]; then
29-
\echo "DEBUG: changing working directory to: ${INPUT_WORKING_DIRECTORY}"
29+
echo "DEBUG: changing working directory to: ${INPUT_WORKING_DIRECTORY}"
3030
fi
3131
cd "${INPUT_WORKING_DIRECTORY}"
3232
fi
3333

3434
if [ "${DEBUG}" = true ]; then
35-
\echo "DEBUG: current working directory = $(pwd)"
36-
\echo 'DEBUG:'
35+
echo "DEBUG: current working directory = $(pwd)"
36+
echo 'DEBUG:'
3737
# shellcheck disable=SC2012
3838
\ls -hal | \sed -e 's/^/DEBUG: /'
39-
\echo 'DEBUG:'
39+
echo 'DEBUG:'
4040
fi
4141

4242
if [ -f mvnw ]; then
4343
if [ "${DEBUG}" = true ]; then
44-
\echo 'DEBUG: using existing maven wrapper'
44+
echo 'DEBUG: using existing maven wrapper'
4545
fi
4646
cmd='./mvnw'
4747
# Ensure maven wrapper work directory is somewhere we have
@@ -53,7 +53,7 @@ if [ -f mvnw ]; then
5353
fi
5454
else
5555
if [ "${DEBUG}" = true ]; then
56-
\echo 'DEBUG: using docker-provided maven command'
56+
echo 'DEBUG: using docker-provided maven command'
5757
fi
5858
cmd=$(\which mvn)
5959
fi
@@ -75,7 +75,7 @@ rc=0
7575
versions:display-plugin-updates \
7676
versions:display-property-updates |
7777
while read -r l; do
78-
\echo "${l}"
78+
echo "${l}"
7979
if [[ "${l}" == *"[ERROR]"* ||
8080
"${l}" == *"has a newer version:"* ||
8181
"${l}" == *"have newer versions:"* ||

0 commit comments

Comments
 (0)