mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 01:34:27 +00:00 
			
		
		
		
	Bug fix
This commit is contained in:
		@@ -153,7 +153,7 @@ func initRepository(f string, user *User, repo *Repository, initReadme bool, rep
 | 
				
			|||||||
		fileName["license"] = "LICENSE"
 | 
							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)
 | 
						os.MkdirAll(workdir, os.ModePerm)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	sig := user.NewGitSig()
 | 
						sig := user.NewGitSig()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user