Fix: missing newline

This commit is contained in:
Dorian Zedler 2022-07-23 20:44:55 +02:00
parent 8f102a4869
commit 4e06dae847
Signed by: dorian
GPG Key ID: 989DE36109AFA354
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ func Exec(ctx context.Context, args Args) error {
return err
}
if err := repo.WriteKey(strings.ReplaceAll(args.SshKey, "\\n", "\n")); err != nil {
if err := repo.WriteKey(strings.ReplaceAll(args.SshKey, "\\n", "\n") + "\n"); err != nil {
return err
}