Skip to content

Commit

Permalink
Merge pull request #4 from tshion/feature/ignore_case_sensitive_2
Browse files Browse the repository at this point in the history
小文字への変換ロジックを tr ベースに変更
  • Loading branch information
tshion authored Apr 29, 2024
2 parents bfb7d9a + eab7526 commit ab3fe9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runs:
email=''
name=''
user=${USER,,}
user=$(echo $USER | tr [A-Z] [a-z])
if [ $user = 'actions-user' ]; then
email='65916846+actions-user@users.noreply.github.com'
name='actions-user'
Expand All @@ -50,7 +50,7 @@ runs:
echo "email: $email"
flag='--local'
if [ ${GLOBAL,,} = 'true' ]; then
if [ $(echo $GLOBAL | tr [A-Z] [a-z]) = 'true' ]; then
flag='--global'
fi
echo "flag: $flag"
Expand Down

0 comments on commit ab3fe9a

Please sign in to comment.