From e99d7affb0c128fa82722f9b3d79c99b5e5918cd Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 11 Aug 2025 02:52:32 +0900 Subject: container: use absolute for pathname This is simultaneously more efficient and less error-prone. This change caused minor API changes in multiple other packages. Signed-off-by: Ophestra --- helper/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helper/container.go') diff --git a/helper/container.go b/helper/container.go index 7501b28a..a3b22575 100644 --- a/helper/container.go +++ b/helper/container.go @@ -26,7 +26,7 @@ func New( var args []string h := new(helperContainer) h.helperFiles, args = newHelperFiles(ctx, wt, stat, argF, extraFiles) - h.Container = container.NewCommand(ctx, pathname.String(), name, args...) + h.Container = container.NewCommand(ctx, pathname, name, args...) h.WaitDelay = WaitDelay if cmdF != nil { cmdF(h.Container) -- cgit v1.3.1