mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-29 01:21:05 -05:00
spelling: numeric
This commit is contained in:
parent
566cd3d557
commit
d542dc4d76
2 changed files with 6 additions and 6 deletions
|
@ -115,9 +115,9 @@ ValidateInput()
|
||||||
# Check if we need to get the name of the branch #
|
# Check if we need to get the name of the branch #
|
||||||
##################################################
|
##################################################
|
||||||
if [[ "$IMAGE_VERSION" != "latest" ]]; then
|
if [[ "$IMAGE_VERSION" != "latest" ]]; then
|
||||||
###################################
|
##################################
|
||||||
# Remove non alpha-numberic chars #
|
# Remove non alpha-numeric chars #
|
||||||
###################################
|
##################################
|
||||||
IMAGE_VERSION=$(echo "$IMAGE_VERSION" | tr -cd '[:alnum:]')
|
IMAGE_VERSION=$(echo "$IMAGE_VERSION" | tr -cd '[:alnum:]')
|
||||||
else
|
else
|
||||||
#############################################
|
#############################################
|
||||||
|
|
|
@ -120,9 +120,9 @@ ValidateInput()
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
###################################
|
##################################
|
||||||
# Remove non alpha-numberic chars #
|
# Remove non alpha-numeric chars #
|
||||||
###################################
|
##################################
|
||||||
BRANCH_NAME=$(echo "$BRANCH_NAME" | tr -cd '[:alnum:]')
|
BRANCH_NAME=$(echo "$BRANCH_NAME" | tr -cd '[:alnum:]')
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
|
|
Loading…
Reference in a new issue