mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2025-06-22 04:22:10 +10:00
add logs
This commit is contained in:
parent
935fc586de
commit
85dc1a16ee
2 changed files with 6 additions and 5 deletions
|
@ -8,7 +8,7 @@ const addSshKey = (content, filename) => {
|
|||
const filePath = join(dir, filename);
|
||||
|
||||
writeToFile({ dir, filename: 'known_hosts', content: '' });
|
||||
console.log('✅ [SSH] known_hosts file ensured', dir, filename, content);
|
||||
console.log('✅ [SSH] known_hosts file ensured', dir, filename, content.length);
|
||||
writeToFile({ dir, filename, content, isRequired: true });
|
||||
console.log('✅ [SSH] key added to `.ssh` dir ', dir);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue