Skip to content

Commit 34dd794

Browse files
committed
Fix typo in error message for runtime validation
1 parent 5965754 commit 34dd794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const supportedNodeVersions: string[] = Object.keys(supported.RUNTIMES)
1515
export const RUNTIME_NOT_SET =
1616
"`runtime` field is required but was not found in firebase.json or package.json.\n" +
1717
"To fix this, add the following lines to the `functions` section of your firebase.json:\n" +
18-
`"runtime": "${supported.latest("nodejs")}" or set the "engine" field in package.json\n`;
18+
`"runtime": "${supported.latest("nodejs")}" or set the "engines" field in package.json\n`;
1919

2020
function getRuntimeChoiceFromPackageJson(sourceDir: string): supported.Runtime {
2121
const packageJsonPath = path.join(sourceDir, "package.json");

0 commit comments

Comments
 (0)