From b9eeecd5a1156db5c9e1770c32e2807b7ea81262 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Tue, 4 Mar 2025 18:27:45 +0100 Subject: [PATCH] add a log --- libs/patchwheel/patch.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/patchwheel/patch.go b/libs/patchwheel/patch.go index 948535028..38aa72e4e 100644 --- a/libs/patchwheel/patch.go +++ b/libs/patchwheel/patch.go @@ -14,6 +14,8 @@ import ( "path/filepath" "strconv" "strings" + + "github.com/databricks/cli/libs/log" ) const ( @@ -118,7 +120,7 @@ func PatchWheel(ctx context.Context, path, outputDir string) (string, error) { outpath := filepath.Join(outputDir, newFilename) if _, err := os.Stat(outpath); err == nil { - // Target wheel already exists, return its path + log.Debugf(ctx, "Skipping patching of %s, already exists: %s", path, outpath) return outpath, nil }