Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Conversation

@swyxio
Copy link
Contributor

@swyxio swyxio commented Apr 2, 2019

closes #58

this bug was directly caused because ZISI was expecting a full settings object: https://github.com/netlify/zip-it-and-ship-it/blob/306d26a4b1ff99bfe0ace291755e980040c2b2ae/src/serve.js#L154

but we were only providing an object with functionsDir:

const fnSettings = await serveFunctions({ functionsDir })

the indirect fix for this is to use typescript to better communicate & enforce contracts.

@swyxio swyxio merged commit d947f1a into master Apr 2, 2019
@swyxio swyxio deleted the fixServeFunctions branch April 2, 2019 17:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

localhost:30001???

2 participants