mirror of
https://github.com/gogs/gogs.git
synced 2025-12-17 12:03:16 +01:00
Code cleanup
This commit is contained in:
@@ -2404,7 +2404,6 @@ func (repo *Repository) UploadRepoFiles(doer *User, oldBranchName, branchName, t
|
|||||||
}
|
}
|
||||||
|
|
||||||
dirPath := path.Join(localPath, treeName)
|
dirPath := path.Join(localPath, treeName)
|
||||||
|
|
||||||
os.MkdirAll(dirPath, os.ModePerm)
|
os.MkdirAll(dirPath, os.ModePerm)
|
||||||
|
|
||||||
// Copy uploaded files into repository.
|
// Copy uploaded files into repository.
|
||||||
|
|||||||
Reference in New Issue
Block a user