Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
ci: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Oct 10, 2024
1 parent 60c00db commit 858c443
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/runtime/python/python.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (r *PythonRuntime) Build(ctx context.Context, input *runtime.BuildInput) (*
// Copy the file to the target directory
err = copyFile(file, destPath)
if err != nil {
slog.Error("Error copying file %s to %s: %v", file, destPath, err)
slog.Error("Error copying file", "from", file, "to", destPath, "err", err)
continue
}

Expand Down Expand Up @@ -275,7 +275,7 @@ func (r *PythonRuntime) Run(ctx context.Context, input *runtime.RunInput) (runti
// Decode the TOML file
var pyProject PyProject
if _, err := toml.DecodeFile(pyprojectFile, &pyProject); err != nil {
slog.Error("Error decoding TOML file: %v", err)
slog.Error("Error decoding TOML file", "err", err)
}

// Extract the dependencies
Expand Down Expand Up @@ -507,4 +507,3 @@ func writeResourcesFile(resourcesFile string, links map[string]json.RawMessage)

return nil
}

0 comments on commit 858c443

Please sign in to comment.