Skip to content

Commit b3a6789

Browse files
committed
fix(fmt) replace spaces with tabs
1 parent def097f commit b3a6789

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

scripts/download-oas.sh

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,19 @@ EOF
6060

6161
# write commit hash to oas_commits file, normalize name first to match service name in sdk-create-pr.sh, normalization
6262
# occurs in go/java/python.sh when creating the SDK modules
63-
service_normalzed=${service}
64-
service_normalzed="${service_normalzed//-/}" # remove dashes
65-
service_normalzed="${service_normalzed// /}" # remove empty spaces
66-
service_normalzed="${service_normalzed//_/}" # remove underscores
67-
service_normalzed=$(echo "${service_normalzed}" | tr '[:upper:]' '[:lower:]') # convert upper case letters to lower case
68-
service_normalzed=$(echo "${service_normalzed}" | tr -d -c '[:alnum:]') # remove non-alphanumeric characters
69-
echo "$service_normalzed=$(git rev-parse HEAD)" >> oas_commits
70-
# To support initial integrations of the IaaS API in an Alpha state, we will temporarily use it to generate an IaaS Alpha SDK module
71-
# This check can be removed once the IaaS API moves all endpoints to Beta
72-
if [[ ${service_normalzed} == "iaas" ]]; then
73-
echo "iaasalpha=$(git rev-parse HEAD)" >> oas_commits
74-
fi
75-
63+
service_normalized=${service}
64+
service_normalized="${service_normalized//-/}" # remove dashes
65+
service_normalized="${service_normalized// /}" # remove empty spaces
66+
service_normalized="${service_normalized//_/}" # remove underscores
67+
service_normalized=$(echo "${service_normalized}" | tr '[:upper:]' '[:lower:]') # convert upper case letters to lower case
68+
service_normalized=$(echo "${service_normalized}" | tr -d -c '[:alnum:]') # remove non-alphanumeric characters
69+
echo "$service_normalized=$(git rev-parse HEAD)" >> oas_commits
70+
# To support initial integrations of the IaaS API in an Alpha state, we will temporarily use it to generate an IaaS Alpha SDK module
71+
# This check can be removed once the IaaS API moves all endpoints to Beta
72+
if [[ ${service_normalized} == "iaas" ]]; then
73+
echo "iaasalpha=$(git rev-parse HEAD)" >> oas_commits
74+
fi
75+
7676
cd - >/dev/null
7777

7878
# Prioritize GA over Beta over Alpha versions

0 commit comments

Comments
 (0)