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

View file

@ -37,7 +37,7 @@ func Exec(ctx context.Context, args Args) error {
return err 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 return err
} }