lib/jira_sync/plugin.rb in danger-jira_sync-0.0.2 vs lib/jira_sync/plugin.rb in danger-jira_sync-0.0.3
- old
+ new
@@ -123,10 +123,10 @@
end
def create_missing_github_labels(labels)
missing_labels = labels - github_labels
missing_labels.each do |label|
- color = "##{SecureRandom.hex(3)}"
+ color = SecureRandom.hex(3)
github.api.add_label(repo, label, color)
end
missing_labels
end
end