ci: fix SC2162 in update_api_key.sh — add -r flag to read
Lint / Shell (shellcheck) (push) Successful in 18s
Lint / Shell (shellcheck) (push) Successful in 18s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ mkdir -p /etc/hwmonDaemon
|
||||
|
||||
# Prompt for API key
|
||||
echo "Enter your Tinker Tickets API key:"
|
||||
read -p "API Key: " API_KEY
|
||||
read -rp "API Key: " API_KEY
|
||||
|
||||
if [[ -z "$API_KEY" ]]; then
|
||||
echo "❌ API key cannot be empty"
|
||||
|
||||
Reference in New Issue
Block a user