mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
remove empty line as per https://github.com/gogits/gogs/pull/1475
This commit is contained in:
@@ -386,7 +386,6 @@ func ListPublicKeys(uid int64) ([]*PublicKey, error) {
|
|||||||
|
|
||||||
// rewriteAuthorizedKeys finds and deletes corresponding line in authorized_keys file.
|
// rewriteAuthorizedKeys finds and deletes corresponding line in authorized_keys file.
|
||||||
func rewriteAuthorizedKeys(key *PublicKey, p, tmpP string) error {
|
func rewriteAuthorizedKeys(key *PublicKey, p, tmpP string) error {
|
||||||
|
|
||||||
fr, err := os.Open(p)
|
fr, err := os.Open(p)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Reference in New Issue
Block a user