add a log

This commit is contained in:
Denis Bilenko 2025-03-04 18:27:45 +01:00
parent ca55524f94
commit b9eeecd5a1
1 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ import (
"path/filepath" "path/filepath"
"strconv" "strconv"
"strings" "strings"
"github.com/databricks/cli/libs/log"
) )
const ( const (
@ -118,7 +120,7 @@ func PatchWheel(ctx context.Context, path, outputDir string) (string, error) {
outpath := filepath.Join(outputDir, newFilename) outpath := filepath.Join(outputDir, newFilename)
if _, err := os.Stat(outpath); err == nil { 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 return outpath, nil
} }