Skip to content

Commit

Permalink
Update packages/adapter-vercel/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Maurício Kishi <mrkishi@users.noreply.github.com>
  • Loading branch information
Rich-Harris and mrkishi authored May 14, 2022
1 parent b994439 commit 15a3dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adapter-vercel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ function get_node_version() {
const major = parseInt(full.split('.')[0]); // '16.5.0' --> 16

if (major < 16) {
throw new Error(`SvelteKit only support Node.js version 16 or greater (currently using v${full}). Consult the documentation: https://vercel.com/docs/runtimes#official-runtimes/node-js/node-js-version`)
throw new Error(`SvelteKit only supports Node.js version 16 or greater (currently using v${full}). Consult the documentation: https://vercel.com/docs/runtimes#official-runtimes/node-js/node-js-version`)
}

return { major, full };
Expand Down

0 comments on commit 15a3dae

Please sign in to comment.