Skip to content

Commit

Permalink
make not case sensitive on branch/username verify
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Lord committed Feb 1, 2014
1 parent 732125f commit eafcada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions problems/branches_arent_just_for_birds/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ var exec = require('child_process').exec
// verify they've pushed

exec('git config user.username', function(err, stdout, stdrr) {
var username = stdout.trim()
var username = stdout.trim().toLowerCase()

exec('git status', function(err, stdout, stderr) {
var branch = stdout.trim()
var branch = stdout.trim().toLowerCase()
var branchName = "add-" + username
exec('git reflog show origin/' + branchName, function(err, stdout, stderr) {

Expand Down

0 comments on commit eafcada

Please sign in to comment.