Skip to content

bug: lambda functions with inline code causes a crash #138

@Lewenhaupt

Description

@Lewenhaupt

Just spun this up in a project at work and it had som work in progress lambdas that just had some dummy inline code in the cdk, but this causes issues with lld.

 {
    "handler": "index.handler",
    "stackName": "stack-name",
    "code": {},
    "cdkPath": "stack-name/nested-stack/TestFunction/Resource",
    "bundling": {}
  }
]
Error: Code file not found for Lambda function undefined

I'll just remove these for now, but I think it would make sense for lld to just ignore these functions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions