mirror of
				https://github.com/go-task/task.git
				synced 2025-10-30 23:58:01 +02:00 
			
		
		
		
	fix: new line after prompts
This commit is contained in:
		
				
					committed by
					
						 Andrey Nering
						Andrey Nering
					
				
			
			
				
	
			
			
			
						parent
						
							4de2ccea59
						
					
				
				
					commit
					02f1c8482a
				
			
							
								
								
									
										2
									
								
								task.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								task.go
									
									
									
									
									
								
							| @@ -155,7 +155,7 @@ func (e *Executor) RunTask(ctx context.Context, call taskfile.Call) error { | ||||
| 			return &errors.TaskCancelledNoTerminalError{TaskName: call.Task} | ||||
| 		} | ||||
|  | ||||
| 		e.Logger.Outf(logger.Yellow, "task: %q [y/N]\n", t.Prompt) | ||||
| 		e.Logger.Outf(logger.Yellow, "task: %q [y/N]: ", t.Prompt) | ||||
|  | ||||
| 		reader := bufio.NewReader(e.Stdin) | ||||
| 		userInput, err := reader.ReadString('\n') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user