From cf56a519af6f624c12f7d8150752d45390e6d8a4 Mon Sep 17 00:00:00 2001 From: Josh Mandel Date: Thu, 6 Feb 2020 12:09:44 -0600 Subject: [PATCH] Remove redundant .trim() --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 2da939f..8490d93 100644 --- a/index.js +++ b/index.js @@ -7,7 +7,7 @@ try { const home = process.env['HOME']; const homeSsh = home + '/.ssh'; - const privateKey = core.getInput('ssh-private-key').trim(); + const privateKey = core.getInput('ssh-private-key'); if (!privateKey) { core.setFailed("The ssh-private-key argument is empty. Maybe the secret has not been configured, or you are using a wrong secret name in your workflow file.");