From c26439cfbf1e101d7f715a28711b8423a777494c Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Mon, 8 Jul 2024 17:19:13 -0600 Subject: [PATCH] fixup! lottie: add convert functions Signed-off-by: Sumner Evans --- lottie/convert.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lottie/convert.go b/lottie/convert.go index fe24ed0..e14ee30 100644 --- a/lottie/convert.go +++ b/lottie/convert.go @@ -92,6 +92,7 @@ func ConvertBytes(ctx context.Context, data []byte, format string, width, height cmd := exec.CommandContext(ctx, lottieconverterPath, args...) ctxLog := zerolog.Ctx(ctx).With().Str("command", "lottieconverter").Logger() logWriter := exzerolog.NewLogWriter(ctxLog).WithLevel(zerolog.WarnLevel) + cmd.Stdin = bytes.NewReader(data) cmd.Stdout = &output cmd.Stderr = logWriter