Skip to content

Commit

Permalink
feat(Runtime): Support nodejs12 (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanDaoH authored Jul 9, 2020
1 parent b7a6188 commit 62ada4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/language-service/schema/rosSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export const rosSchema = {
},
"Runtime": {
"type": "string",
"enum": ["nodejs6", "nodejs8", "nodejs10", "python2.7", "python3", "java8", "php7.2", "dotnetcore2.1", "custom"]
"enum": ["nodejs6", "nodejs8", "nodejs10", "nodejs12", "python2.7", "python3", "java8", "php7.2", "dotnetcore2.1", "custom"]
},
"CodeUri": {
"type": "string"
Expand Down
2 changes: 1 addition & 1 deletion src/utils/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ncp } from 'ncp';
const cp = util.promisify(ncp);

const supportedRuntimes =
['nodejs6', 'nodejs8', 'nodejs10', 'python2.7', 'python3', 'php7.2', 'java8', 'dotnetcore2.1'];
['nodejs6', 'nodejs8', 'nodejs10', 'nodejs12', 'python2.7', 'python3', 'php7.2', 'java8', 'dotnetcore2.1'];
const types = ['NORMAL', 'HTTP'];

export function getSupportedRuntimes() {
Expand Down

0 comments on commit 62ada4c

Please sign in to comment.