Skip to content

Commit

Permalink
fixed bug related to harness#163
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski committed Mar 9, 2014
1 parent e7e046b commit 265138c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/drone/drone.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit 265138c

Please sign in to comment.