1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00

fixed bug related to #163

This commit is contained in:
Brad Rydzewski 2014-03-08 17:21:06 -07:00
parent e7e046b35c
commit 265138c758

View File

@ -134,9 +134,9 @@ func run(path string) {
}
// get the repository root directory
dir := filepath.Base(filepath.Dir(path))
dir := filepath.Dir(path)
code := repo.Repo{
Name: dir,
Name: filepath.Base(dir),
Branch: "HEAD", // should we do this?
Path: dir,
}