Skip to content

Commit 9a87067

Browse files
committed
fix: invalid runtime
1 parent f10f375 commit 9a87067

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.github/workflows/vercel.yml

Whitespace-only changes.

packages/solutions/app-tools/src/plugins/deploy/platforms/vercel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export const createVercelPreset: CreatePreset = (
104104
const nodeVersion = process.versions.node.split('.')[0];
105105

106106
await fse.writeJSON(path.join(funcsDirectory, '.vc-config.json'), {
107-
runtime: nodeVersion,
107+
runtime: `nodejs${nodeVersion}.x`,
108108
handler: 'index.js',
109109
launcherType: 'Nodejs',
110110
shouldAddHelpers: false,

0 commit comments

Comments
 (0)