mirror of
				https://github.com/easingthemes/ssh-deploy.git
				synced 2025-10-30 23:30:09 +08:00 
			
		
		
		
	fix: fix default source if empty
This commit is contained in:
		
							parent
							
								
									8bf58fb293
								
							
						
					
					
						commit
						2520d9e7f7
					
				
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -30,7 +30,7 @@ inputNames.forEach((input) => { | ||||
|   // eslint-disable-next-line default-case
 | ||||
|   switch (inputName) { | ||||
|     case 'source': | ||||
|       extendedVal = validVal.indexOf(' ') > -1 ? validVal.split(' ') : validVal; | ||||
|       extendedVal = validVal.indexOf(' ') > -1 ? validVal.split(' ') : (validVal || './'); | ||||
|       break; | ||||
|     case 'args': | ||||
|       extendedVal = validVal.split(' '); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Dragan Filipovic
						Dragan Filipovic