mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-19 04:10:52 +00:00
Bug fix
This commit is contained in:
parent
c2e7e93e0c
commit
0b5f6b176f
|
@ -153,7 +153,7 @@ func initRepository(f string, user *User, repo *Repository, initReadme bool, rep
|
|||
fileName["license"] = "LICENSE"
|
||||
}
|
||||
|
||||
workdir := os.TempDir() + fmt.Sprintf("%d", time.Now().Nanosecond())
|
||||
workdir := filepath.Join(os.TempDir(), fmt.Sprintf("%d", time.Now().Nanosecond()))
|
||||
os.MkdirAll(workdir, os.ModePerm)
|
||||
|
||||
sig := user.NewGitSig()
|
||||
|
|
Loading…
Reference in a new issue