Skip to content

Commit

Permalink
Merge branch 'ptte-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Lord committed Sep 16, 2014
2 parents f90c8ce + d2ca803 commit d80bfb6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions problems/forks_and_clones/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ var exec = require('child_process').exec

exec('git remote -v', function(err, stdout, stdrr) {
var show = stdout.trim()
if (show.match("upstream") && (show.match("github.com/jlord/") || show.match("github.com:jlord/")))

if (show.match("upstream") && show.match("github.com[\:\/]jlord/")) {
console.log("Upstream remote set up!")
else return console.log("No upstream remote")
} else {
return console.log("No upstream remote")
}
})

0 comments on commit d80bfb6

Please sign in to comment.