From 58ff05e1b90c01258dd2f99fc18d356f27d19514 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Fri, 11 Oct 2024 23:22:20 -0400 Subject: [PATCH] aws.lambda.Function: use seperate folders for zipping so recursiong does not happen on mac --- pkg/runtime/runtime.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/runtime/runtime.go b/pkg/runtime/runtime.go index 896a2fbe3..dcc390ab1 100644 --- a/pkg/runtime/runtime.go +++ b/pkg/runtime/runtime.go @@ -43,7 +43,7 @@ type BuildInput struct { } func (input *BuildInput) Out() string { - suffix := "" + suffix := "-src" if input.Dev { suffix = "-dev" } @@ -129,7 +129,7 @@ func (c *Collection) Build(ctx context.Context, input *BuildInput) (*BuildOutput return nil, err } } - if !input.Dev && false { + if !input.Dev { sourceFile, err := os.Open(from) if err != nil { return nil, err