From 4e06dae8478d31dfced5923ce1ccd50f1d252c79 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Sat, 23 Jul 2022 20:44:55 +0200 Subject: [PATCH] Fix: missing newline --- plugin/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }