From 331d29bee37d6fcb7e5e41ceff4e6365e0332de8 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Tue, 12 Mar 2024 20:11:36 +0200 Subject: [PATCH] dev: fix a typo in the log about preserving temp (#4491) --- pkg/commands/custom.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/custom.go b/pkg/commands/custom.go index 3ecb724b..1241aad9 100644 --- a/pkg/commands/custom.go +++ b/pkg/commands/custom.go @@ -64,7 +64,7 @@ func (c *customCommand) runE(_ *cobra.Command, _ []string) error { defer func() { if os.Getenv(envKeepTempFiles) != "" { - log.Printf("WARN: The env var %s has been dectected: the temporary directory is preserved: %s", envKeepTempFiles, tmp) + log.Printf("WARN: The env var %s has been detected: the temporary directory is preserved: %s", envKeepTempFiles, tmp) return }