Skip to content

Commit

Permalink
spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
mhoeger committed Jun 12, 2018
1 parent 7b9a6f4 commit 976fddc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GrpcService.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as semver from 'semver';

if (!semver.satisfies(process.version, '8.x')) {
let errorMessage = `Your Function App is currently set to use current version ${process.version}, but the runtime requires Node 8.x.
if (!semver.satisfies(process.version, '8.x || 10.x')) {
let errorMessage = `Your Function App is currently set to use current version ${process.version}, but the runtime requires Node 8.x or 10.x.
For deployed code, please change WEBSITE_NODE_DEFAULT_VERSION in App Settings. On your local machine, you can change node version using 'nvm' (make sure to quit and restart your code editor to pick up the changes).`;
console.error(errorMessage);
throw new Error(errorMessage);
Expand Down

0 comments on commit 976fddc

Please sign in to comment.