Permalink
Browse files

Check that commits is actually set to yes.

  • Loading branch information...
1 parent efc8278 commit 2fcb024c347ed0c9f1357df2ca79df824a9d304c James Socol committed Nov 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 jig.js
View
@@ -118,7 +118,7 @@ var server = http.createServer(function(req, res) {
}, true),
commitMsgs = [];
- if (ref.commits) {
+ if (ref.commits && ref.commits.toLowerCase() == 'yes') {
data.commits.forEach(function(c) {
commitMsgs.push(interpolate(commit, {
'author': c.author.username,

0 comments on commit 2fcb024

Please sign in to comment.