Skip to content

Commit 282f9b9

Browse files
committed
Update functions node version error message
1 parent febab0f commit 282f9b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/deploy/functions/runtimes/node/parseRuntimeAndValidateSDK.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ export const RUNTIME_NOT_SET =
2828

2929
export const UNSUPPORTED_NODE_VERSION_FIREBASE_JSON_MSG = clc.bold(
3030
`functions.runtime value is unsupported. ` +
31-
`Valid choices are: ${clc.bold("nodejs{10|12|14|16|18}")}.`
31+
`Valid choices are: ${clc.bold("nodejs{10|12|14|16|18|20}")}.`
3232
);
3333

3434
export const UNSUPPORTED_NODE_VERSION_PACKAGE_JSON_MSG = clc.bold(
3535
`package.json in functions directory has an engines field which is unsupported. ` +
36-
`Valid choices are: ${clc.bold('{"node": 10|12|14|16|18}')}`
36+
`Valid choices are: ${clc.bold('{"node": 10|12|14|16|18|20}')}`
3737
);
3838

3939
export const DEPRECATED_NODE_VERSION_INFO =

0 commit comments

Comments
 (0)