diff --git a/README.md b/README.md index 85bad65e..69a89b78 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ Install [Node.js](https://nodejs.org/en/) Install all dependencies by [npm](https://www.npmjs.com/) : `npm install` +Make sure to checkout languages SDKs repositories above and update `version_path.json` to match the base paths. + ## Codegen SDK ```bash diff --git a/lib/common/Utils.js b/lib/common/Utils.js index 3720f39f..0e75e729 100644 --- a/lib/common/Utils.js +++ b/lib/common/Utils.js @@ -31,8 +31,7 @@ const Utils = { }, validateLanguage(language) { - // @fb-only - 'java', 'nodejs', 'php', 'python', 'ruby']; + const supportedLanguages = ['java', 'nodejs', 'php', 'python', 'ruby']; if (!language) { this.throwUsageError('language is not specified! available languages: ' + supportedLanguages.join(', ')); } diff --git a/lib/processors/CodeGenLanguages.js b/lib/processors/CodeGenLanguages.js index 66d1b7f8..43cb09a6 100644 --- a/lib/processors/CodeGenLanguages.js +++ b/lib/processors/CodeGenLanguages.js @@ -51,8 +51,7 @@ const generateFieldEnumReferences = (APISpecs, enumMetadataMap) => { } } } -// @fb-only - +} const CodeGenLanguages = { // @fb-only