Revert "[ruby] Use new Lambda() (#7551)"

This reverts commit 501be936c0.
This commit is contained in:
Nathan Rajlich
2022-03-12 11:22:49 -08:00
parent aef936af0f
commit b2d0ed74c6

View File

@@ -10,10 +10,10 @@ import {
} from 'fs-extra';
import {
BuildOptions,
Lambda,
download,
getWriteableDirectory,
glob,
createLambda,
debug,
walkParentDirs,
} from '@vercel/build-utils';
@@ -215,7 +215,7 @@ export async function build({
}
}
const lambda = new Lambda({
const lambda = await createLambda({
files: outputFiles,
handler: `${handlerRbFilename}.vc__handler`,
runtime,