mirror of
https://github.com/go-task/task.git
synced 2025-03-19 21:17:46 +02:00
fix: new line after prompts
This commit is contained in:
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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user