Suppress possible missing env.js file for i18n-crowdin script

This commit is contained in:
ErickSkrauch 2019-03-10 03:14:49 +03:00
parent a5f98e6d9a
commit d9c303ed92

View File

@ -18,6 +18,7 @@ if (!fs.existsSync(CONFIG_PATH)) {
}
const PROJECT_ID = 'elyby';
// $FlowFixMe this will be missing on CI server
const PROJECT_KEY = require('./../config/env.js').crowdinApiKey;
const CROWDIN_FILE_PATH = 'accounts/site.json';
const SOURCE_LANG = 'en';