1
0
mirror of https://github.com/go-task/task.git synced 2025-03-05 15:05:42 +02:00

fix: add missing \n to watcher log

Closes #1285
Closes #1297
This commit is contained in:
Filip Solich 2023-08-04 20:36:05 +02:00 committed by Andrey Nering
parent 2b21fd2eda
commit 600966ac26
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## Unreleased
- Fix a missing a line break on log when using `--watch` mode (#1285, #1297 by
@FilipSolich).
## v3.28.0 - 2023-07-24
- Added the ability to

View File

@ -27,7 +27,7 @@ func (e *Executor) watchTasks(calls ...taskfile.Call) error {
tasks[i] = c.Task
}
e.Logger.Errf(logger.Green, "task: Started watching for tasks: %s", strings.Join(tasks, ", "))
e.Logger.Errf(logger.Green, "task: Started watching for tasks: %s\n", strings.Join(tasks, ", "))
ctx, cancel := context.WithCancel(context.Background())
for _, c := range calls {