1
0
mirror of https://github.com/go-task/task.git synced 2025-06-23 00:38:19 +02:00

refactor: remove newlines from formatter print functions (#1137)

This commit is contained in:
Pete Davison
2023-04-27 01:20:06 +01:00
committed by GitHub
parent 1e8fc5011b
commit 8cfac5a25a
11 changed files with 58 additions and 58 deletions

View File

@ -20,11 +20,11 @@ func (e *Executor) InterceptInterruptSignals() {
sig := <-ch
if i < 3 {
e.Logger.Outf(logger.Yellow, `task: Signal received: "%s"`, sig)
e.Logger.Outf(logger.Yellow, "task: Signal received: %q\n", sig)
continue
}
e.Logger.Errf(logger.Red, `task: Signal received for the third time: "%s". Forcing shutdown`, sig)
e.Logger.Errf(logger.Red, "task: Signal received for the third time: %q. Forcing shutdown\n", sig)
os.Exit(1)
}
}()