Skip to content

Commit

Permalink
Fix some warnings caught by the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed May 21, 2024
1 parent 93afc15 commit d03fa36
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# osmus/tileservice
Central repo for the OSM US vector tile service
Central repository for the OSM US vector tile service
2 changes: 1 addition & 1 deletion renderer/_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ else
touch "${LOCKFILE}"

# Ensure the lock file is removed when we exit and when we receive signals
trap "rm -f ${LOCKFILE}; trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
trap "rm -f '${LOCKFILE}'; trap - SIGTERM && kill -- -'$$'" SIGINT SIGTERM EXIT
fi

# The local path to the tileservice repo
Expand Down
2 changes: 1 addition & 1 deletion renderer/render.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Get the directory of the current script
DIR="$(dirname "$0")"

"$DIR/render_seashells.sh" $1
"$DIR/render_seashells.sh" "$1"
4 changes: 2 additions & 2 deletions renderer/render_seashells.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ tail -f "$LOG_FILE" | nc seashells.io 1337 > /tmp/seashells_render & sleep 10
OSM_PLANET_SIZE=$(stat -c%s "$WORKING_DIR/data/sources/planet.osm.pbf")

# Print the size with comma separators
OSM_PLANET_SIZE=$(printf "%'d" $OSM_PLANET_SIZE)
OSM_PLANET_SIZE=$(printf "%'d" "$OSM_PLANET_SIZE")

RSS_FILE="$WORKING_DIR/rss.xml"
PLANET="$WORKING_DIR/data/planet.pmtiles"
Expand Down Expand Up @@ -61,7 +61,7 @@ run() {
PMTILES_PLANET_SIZE=$(stat -c%s "$PLANET")

# Print the size with comma separators
PMTILES_PLANET_SIZE=$(printf "%'d" $PMTILES_PLANET_SIZE)
PMTILES_PLANET_SIZE=$(printf "%'d" "$PMTILES_PLANET_SIZE")

"$DIR/rss_update.sh" "$RSS_FILE" "Build Complete" "Tiles are up to date as of ${TIMESTAMP}Z. Render took ${HOURS} ${HOUR_TEXT} and ${MINUTES} ${MINUTE_TEXT}. The planet PMTiles file is ${PMTILES_PLANET_SIZE} bytes."
else
Expand Down

0 comments on commit d03fa36

Please sign in to comment.