-
Notifications
You must be signed in to change notification settings - Fork 421
fix: await zipFunctions()
in functions build
#7180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
c6b18e5
6eb5210
036ebb8
f06b38d
0a0643f
e1a8fd0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,11 @@ export const getFunctionsDir = ( | |
options: OptionValues | ||
}, | ||
defaultValue?: string, | ||
) => options.functions || config.dev?.functions || config.functionsDirectory || defaultValue | ||
): string | undefined => | ||
('functions' in options && typeof options.functions === 'string' ? options.functions : null) ?? | ||
config.dev?.functions ?? | ||
config.functionsDirectory ?? | ||
|
||
defaultValue | ||
|
||
export const getFunctionsManifestPath = async ({ base, packagePath = '' }: { base: string; packagePath?: string }) => { | ||
const path = resolve(base, packagePath, getPathInProject(['functions', 'manifest.json'])) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here--this will now allow an empty string, won't it?