Skip to content

Commit

Permalink
Removed few spurious spaces before indentation tabs -- for consistent…
Browse files Browse the repository at this point in the history
… indentation
  • Loading branch information
yarikoptic committed Mar 1, 2024
1 parent 1e59565 commit f9efa97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contrib/incremental_backup/dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ function dump {
fi

echo "Dumping messages from \"$PREVIOUS_DATE\" to \"$CURRENT_DATE\""
$SLACKDUMP_B -download -r json "$FROM_FLAG" "$TO_FLAG" -base "$BASE_DIR" "$CHANNEL_ID" > "$LOG_FILE" 2>&1
local NEW_MESSAGE_COUNT
$SLACKDUMP_B -download -r json "$FROM_FLAG" "$TO_FLAG" -base "$BASE_DIR" "$CHANNEL_ID" > "$LOG_FILE" 2>&1

local NEW_MESSAGE_COUNT
NEW_MESSAGE_COUNT=$($JQ_B -r '.messages | length' "$CHANNEL_FILE")
echo "Found '$NEW_MESSAGE_COUNT' new message(s)."
echo "Found '$NEW_MESSAGE_COUNT' new message(s)."

# If we have an old file...
if [ -r "$CHANNEL_FILE_OLD" ]; then
Expand Down

0 comments on commit f9efa97

Please sign in to comment.