lib/octopolo/github/label.rb in octopolo-0.1.1 vs lib/octopolo/github/label.rb in octopolo-0.1.2

- old
+ new

@@ -35,10 +35,10 @@ # Public: Checks to see if label exists on remote, if not makes one. # # label - a label object def self.first_or_create(label) - unless all.include?(label) + unless all_from_repo.include?(label) GitHub.add_label(config.github_repo, label.name, label.color) end end # Public: Finds or creates each of the passed in labels