Skip to content

Commit aa24724

Browse files
committed
Fixed spelling mistake in unsanitized
1 parent d041249 commit aa24724

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure-skeleton.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ author_username=$(ask_question "Author username" "$username_guess")
3535
current_directory=$(pwd)
3636
folder_name=$(basename "$current_directory")
3737

38-
vendor_name_unsantized=$(ask_question "Vendor name" "$author_name")
38+
vendor_name_unsanitized=$(ask_question "Vendor name" "$author_name")
3939
package_name=$(ask_question "Package name" "$folder_name")
4040
package_description=$(ask_question "Package description" "$package_name")
4141

4242
# convert my-class-title to MyClassTitle - RODO: use to subsctitute ./src/*
4343
class_name=$(echo "$package_name" | sed 's/[-_]/ /g' | awk '{for(j=1;j<=NF;j++){ $j=toupper(substr($j,1,1)) substr($j,2) }}1' | sed 's/[[:space:]]//g')
4444

4545
vendor_name_pascal_case=`echo "$vendor_name_unsanitized" | sed -r 's/(^|-)(\w)/\U\2/g'`
46-
vendor_name_lower_case=`echo "$vendor_name_unsantized" | tr '[:upper:]' '[:lower:]'`
46+
vendor_name_lower_case=`echo "$vendor_name_unsanitized" | tr '[:upper:]' '[:lower:]'`
4747
vendor_name="$(tr '[:lower:]' '[:upper:]' <<< ${vendor_name_lower_case:0:1})${vendor_name_lower_case:1}"
4848

4949
echo

0 commit comments

Comments
 (0)