Skip to content

Commit

Permalink
fix: 🐛 先程の修正で return を書き忘れていたので追記した (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikukyugamer committed Jun 5, 2021
1 parent 4448285 commit 4ca34d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def cast_value_type(already_sheet_all_data_values)

def set_max_tweet_id_number(already_sheet_data)
# 初回実行時の対応
@max_tweet_id_number = 0 if already_sheet_data.values.count == 1
return @max_tweet_id_number = 0 if already_sheet_data.values.count == 1

tweet_id_numbers = already_sheet_data.values.map do |row|
next if row[1] == 'tweetId'
Expand Down

0 comments on commit 4ca34d7

Please sign in to comment.