We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6023842 commit 15d95d7Copy full SHA for 15d95d7
1 file changed
lib/errbit_github_plugin/issue_tracker.rb
@@ -58,12 +58,15 @@ def url
58
59
def errors
60
errors = []
61
+
62
if self.class.fields.detect { |f| options[f[0]].blank? }
63
errors << [:base, "You must specify your GitHub username and password"]
64
end
65
66
if repo.blank?
67
errors << [:base, "You must specify your GitHub repository url."]
68
69
70
errors
71
72
0 commit comments