[NAMING] Add *Path
suffix where applicable
Signed-off-by: Oktawian Chojnacki <oktawian@me.com>
This commit is contained in:
parent
0a5d1715cf
commit
4b29c05a2e
3 changed files with 14 additions and 14 deletions
|
@ -1,11 +1,11 @@
|
|||
const core = require('@actions/core');
|
||||
const { execFileSync } = require('child_process');
|
||||
const { sshAgent } = require('./paths.js');
|
||||
const { sshAgentPath } = require('./paths.js');
|
||||
|
||||
try {
|
||||
// Kill the started SSH agent
|
||||
console.log('Stopping SSH agent');
|
||||
execFileSync(sshAgent, ['-k'], { stdio: 'inherit' });
|
||||
execFileSync(sshAgentPath, ['-k'], { stdio: 'inherit' });
|
||||
} catch (error) {
|
||||
console.log(error.message);
|
||||
console.log('Error stopping the SSH agent, proceeding anyway');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue