Skip to content

Commit

Permalink
Check both files for changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefishy committed Dec 8, 2023
1 parent ef4a55b commit dd49496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/update-issues
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ File.open(TILE_ATTRIBUTION_JSON, 'w') do |file|
file.write(JSON.pretty_generate(issue_data))
end

if git.status.changed.include?(TILE_ATTRIBUTION_FILE)
if git.status.changed.include?(TILE_ATTRIBUTION_FILE) || git.status.changed.include?(TILE_ATTRIBUTION_JSON)
log_message("Add #{TILE_ATTRIBUTION_FILE} to git")
git.add(TILE_ATTRIBUTION_FILE)

Expand Down

0 comments on commit dd49496

Please sign in to comment.