We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aef6173 + 7823fb7 commit a7512c7Copy full SHA for a7512c7
lib/docurium.rb
@@ -162,6 +162,11 @@ def generate_docs
162
versions = vers
163
end
164
165
+ if (@repo.config['user.name'].nil? || @repo.config['user.email'].nil?)
166
+ puts "ERROR: 'user.name' or 'user.email' is not configured. Docurium will not be able to commit the documentation"
167
+ exit(false)
168
+ end
169
+
170
process_project(versions) do |i, version, result|
171
data, examples = result
172
sha = @repo.write(data.to_json, :blob)
0 commit comments