From 540d387b1f52879903977220089de243b2c4ca69 Mon Sep 17 00:00:00 2001 From: Jan Keromnes Date: Fri, 9 Apr 2021 06:31:41 +0000 Subject: [PATCH] =?UTF-8?q?[prebuilds]=20Refactor=20=F0=9F=8D=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/supervisor/pkg/supervisor/tasks.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/supervisor/pkg/supervisor/tasks.go b/components/supervisor/pkg/supervisor/tasks.go index 16ecaffc1907c0..b741f26d0bd007 100644 --- a/components/supervisor/pkg/supervisor/tasks.go +++ b/components/supervisor/pkg/supervisor/tasks.go @@ -398,17 +398,17 @@ func (tm *tasksManager) watch(task *task, terminal *terminal.Term) { duration := "" if elapsed >= 1*time.Minute { elapsedInMinutes := strconv.Itoa(int(elapsed.Minutes())) - duration = "šŸŽ‰ You just saved " + elapsedInMinutes + " minute" + duration = "šŸŽ‰ Well done on saving " + elapsedInMinutes + " minute" if elapsedInMinutes != "1" { duration += "s" } - duration += " of watching your code build.\n" + duration += "\n" } data := string(buf[:n]) fileWriter.Write(buf[:n]) tm.reporter.write(data, task, terminal) - endMessage := "\nšŸŒ This task ran as part of a workspace prebuild.\n" + duration + "\n" + endMessage := "\nšŸ¤™ This task ran as a workspace prebuild\n" + duration + "\n" fileWriter.WriteString(endMessage) break }