diff --git a/plugin/plugin.go b/plugin/plugin.go index 2d1a071..deac56a 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -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 }