We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86ef065 commit 3b7670fCopy full SHA for 3b7670f
1 file changed
lib/repo.js
@@ -1,5 +1,4 @@
1
-var path = require( 'path' ),
2
- git = require( '../' );
+var git = require( '../' );
3
4
var _Repo = function( path, callback ) {
5
// Public namespace
@@ -71,7 +70,7 @@ var _Repo = function( path, callback ) {
71
70
if( path && callback ) {
72
if( !callback ) { return; }
73
74
- self.repo.open( path.normalize( path ), function() {
+ self.repo.open( path, function() {
75
var args = Array.prototype.slice.call( arguments );
76
77
args[0] = git.util().error( args[0] );
0 commit comments