Skip to content

Commit 15d95d7

Browse files
committed
Cleanup
1 parent 6023842 commit 15d95d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/errbit_github_plugin/issue_tracker.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,15 @@ def url
5858

5959
def errors
6060
errors = []
61+
6162
if self.class.fields.detect { |f| options[f[0]].blank? }
6263
errors << [:base, "You must specify your GitHub username and password"]
6364
end
65+
6466
if repo.blank?
6567
errors << [:base, "You must specify your GitHub repository url."]
6668
end
69+
6770
errors
6871
end
6972

0 commit comments

Comments
 (0)