fixed bug related to #163
This commit is contained in:
parent
e7e046b35c
commit
265138c758
1 changed files with 2 additions and 2 deletions
|
@ -134,9 +134,9 @@ func run(path string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// get the repository root directory
|
// get the repository root directory
|
||||||
dir := filepath.Base(filepath.Dir(path))
|
dir := filepath.Dir(path)
|
||||||
code := repo.Repo{
|
code := repo.Repo{
|
||||||
Name: dir,
|
Name: filepath.Base(dir),
|
||||||
Branch: "HEAD", // should we do this?
|
Branch: "HEAD", // should we do this?
|
||||||
Path: dir,
|
Path: dir,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue