mirror of
				https://github.com/easingthemes/ssh-deploy.git
				synced 2025-10-30 23:30:09 +08:00 
			
		
		
		
	fix: remove __dirname
This commit is contained in:
		
							parent
							
								
									d39592cf3a
								
							
						
					
					
						commit
						db3c3987da
					
				| @ -5,7 +5,7 @@ const { writeToFile } = require('./helpers'); | ||||
| const KNOWN_HOSTS = 'known_hosts'; | ||||
| const getPrivateKeyPath = (filename = '') => { | ||||
|   const { HOME } = process.env; | ||||
|   const dir = join(HOME || __dirname, '.ssh'); | ||||
|   const dir = join(HOME || '~', '.ssh'); | ||||
|   const knownHostsPath = join(dir, KNOWN_HOSTS); | ||||
|   return { | ||||
|     dir, | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Dragan Filipovic
						Dragan Filipovic