Skip to content

Commit de832df

Browse files
committed
Add punctuation to trigger quality check
1 parent ef799a3 commit de832df

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docker/scripts/update-localstack-url.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e
44

5-
# Get the API ID for FWS API Gateway from LocalStack
5+
# Get the API ID for FWS API Gateway from LocalStack.
66
API_ID=$(docker exec localstack-main awslocal apigateway get-rest-apis --query "items[?name=='FWS API Gateway'].id" --output text 2>/dev/null)
77

88
if [[ -z "$API_ID" ]]; then
@@ -12,18 +12,18 @@ fi
1212

1313
echo "Found FWS API Gateway with ID: $API_ID"
1414

15-
# Build the full API URL
15+
# Build the full API URL.
1616
API_URL="http://localstack-main:4566/_aws/execute-api/${API_ID}/local"
1717

18-
# Update the .env file
18+
# Update the .env file.
1919
ENV_FILE="$(dirname "$0")/../.env"
2020

2121
if [[ ! -f "$ENV_FILE" ]]; then
2222
echo "Error: .env file not found at $ENV_FILE" >&2
2323
exit 1
2424
fi
2525

26-
# Use sed to replace the FWS_API_URL line
26+
# Use sed to replace the FWS_API_URL line.
2727
if grep -q "^FWS_API_URL=" "$ENV_FILE"; then
2828
sed -i "s|^FWS_API_URL=.*|FWS_API_URL=${API_URL}|" "$ENV_FILE"
2929
echo "Updated FWS_API_URL in $ENV_FILE"

0 commit comments

Comments
 (0)