Skip to content

Commit

Permalink
Dumb typo and Codacy recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanVaughn committed May 6, 2020
1 parent 182ba8e commit 7d58b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ response=$(curl -X POST "https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE
echo "Response data: $response"

# remove whitespace from string
response=$(echo $temp | tr -d ' ')
response=$(echo "$response" | tr -d ' ')

if [[ $response =~ '"success":true' ]]; then
echo "Cloudflare cache cleared successfully"
Expand Down

0 comments on commit 7d58b59

Please sign in to comment.