Permalink
Browse files

only check the origin repo

  • Loading branch information...
1 parent ed388b8 commit 9a09c9b6ff5c4e699364a0a431c3da66dff4db7f @substack committed Jun 14, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 bin/cmd.js
  2. +1 −1 package.json
View
@@ -15,7 +15,7 @@ function remote (cb) {
if (stderr) return cb(stderr)
var m = stdout.match(
- /(?:git@github\.com:|\/github\.com\/)(\S+)/
+ /origin\s+(?:git@github\.com:|\/github\.com\/)(\S+)/
);
if (!m) return cb('no github remote found');
cb(null, m[1].replace(/\.git$/, ''));
View
@@ -1,7 +1,7 @@
{
"name" : "travisify",
"description" : "add travis-ci hooks to github",
- "version" : "0.1.3",
+ "version" : "0.1.4",
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/travisify.git"

0 comments on commit 9a09c9b

Please sign in to comment.