Skip to content
This repository
Browse code

Merge branch 'master' of git://github.com/MRdNk/pushover into MRdNk-m…

…aster
  • Loading branch information...
commit 0f448e9c1cc5af4f11696440bcab45a719656064 2 parents 9743466 + 12e3770
James Halliday authored April 06, 2013

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  index.js
3  index.js
@@ -41,6 +41,9 @@ Git.prototype.create = function (repo, cb) {
41 41
     var self = this;
42 42
     if (typeof cb !== 'function') cb = function () {};
43 43
     var cwd = process.cwd();
  44
+
  45
+    if (repo.substring(repo.length -3, 3) !== 'git')
  46
+        repo = repo + '.git'
44 47
     
45 48
     self.exists(repo, function (ex) {
46 49
         if (!ex) self.mkdir(repo, next)

0 notes on commit 0f448e9

Please sign in to comment.
Something went wrong with that request. Please try again.