Fix #67
This commit is contained in:
parent
22feddf804
commit
115a349131
9 changed files with 30 additions and 14 deletions
5
serve.go
5
serve.go
|
@ -177,10 +177,7 @@ func runServ(k *cli.Context) {
|
|||
qlog.Fatal("Unknown command")
|
||||
}
|
||||
|
||||
// for update use
|
||||
os.Setenv("userName", user.Name)
|
||||
os.Setenv("userId", strconv.Itoa(int(user.Id)))
|
||||
os.Setenv("repoName", repoName)
|
||||
models.SetRepoEnvs(user.Id, user.Name, repoName)
|
||||
|
||||
gitcmd := exec.Command(verb, repoPath)
|
||||
gitcmd.Dir = base.RepoRootPath
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue