mirror of
https://github.com/webfactory/ssh-agent.git
synced 2024-11-22 01:00:50 +00:00
Remove redundant .trim()
This commit is contained in:
parent
9d13200510
commit
cf56a519af
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -7,7 +7,7 @@ try {
|
||||||
const home = process.env['HOME'];
|
const home = process.env['HOME'];
|
||||||
const homeSsh = home + '/.ssh';
|
const homeSsh = home + '/.ssh';
|
||||||
|
|
||||||
const privateKey = core.getInput('ssh-private-key').trim();
|
const privateKey = core.getInput('ssh-private-key');
|
||||||
|
|
||||||
if (!privateKey) {
|
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.");
|
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.");
|
||||||
|
|
Loading…
Reference in a new issue