Skip to content

Commit 3b7670f

Browse files
committed
Fixed path issues
1 parent 86ef065 commit 3b7670f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

lib/repo.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
var path = require( 'path' ),
2-
git = require( '../' );
1+
var git = require( '../' );
32

43
var _Repo = function( path, callback ) {
54
// Public namespace
@@ -71,7 +70,7 @@ var _Repo = function( path, callback ) {
7170
if( path && callback ) {
7271
if( !callback ) { return; }
7372

74-
self.repo.open( path.normalize( path ), function() {
73+
self.repo.open( path, function() {
7574
var args = Array.prototype.slice.call( arguments );
7675

7776
args[0] = git.util().error( args[0] );

0 commit comments

Comments
 (0)