Skip to content

Commit c5dd368

Browse files
authored
Update packages/adapter-vercel/index.js
1 parent 3018f10 commit c5dd368

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/adapter-vercel/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ const DEFAULT_FUNCTION_NAME = 'fn';
1313
const get_default_runtime = () => {
1414
const major = Number(process.version.slice(1).split('.')[0]);
1515

16-
// If we're building on Vercel, we know that the version will be fine. Also means
17-
// we're not on the hook for updating the adapter every time a new Node version is
18-
// added to Vercel.
16+
// If we're building on Vercel, we know that the version will be fine because Vercel
17+
// provides Node (and Vercel won't provide something it doesn't support).
18+
// Also means we're not on the hook for updating the adapter every time a new Node
19+
// version is added to Vercel.
1920
if (!process.env.VERCEL) {
2021
if (major < 18 || major > 22) {
2122
throw new Error(

0 commit comments

Comments
 (0)