mthenw / serverless-go-plugin

⚡️ Serverless Framework plugin that compiles Go functions on the fly. Sponsored by https://cloudash.dev
https://cloudash.dev
MIT License
103 stars 17 forks source link

Update conditional block for package inclusion in index.js #40

Closed danprueitt closed 1 year ago

danprueitt commented 1 year ago

Fixes #39 exception on undefined.concat.

This change ensures the inclusion of a package only when it exists and has the 'include' property. Before, the logic would throw an error when the function's package property exists but doesn't have the 'include' property.

mthenw commented 1 year ago

Thanks!