<commit_before>const fs = require('fs');
const colors = require('colors');
const configs = require('./config');

const config = configs.branches[process.env.TRAVIS_BRANCH];

const SOURCES_PATH = `${process.env.TRAVIS_BUILD_DIR}/mobile_app`;

const ENV_FILE = `${SOURCES_PATH}/${config.envFile}`;

function getNewEnvFile(data = "", options = {}) {
  console.log(`Reading env file in ${ENV_FILE}`);
  const newContent = data.split('\n')
    .map(line => {<commit_msg>set config to an empty object to avoid crashes on non-suported branches [skip ci]<commit_after>const fs = require('fs');
const colors = require('colors');
const configs = require('./config');

const config = configs.branches[process.env.TRAVIS_BRANCH] || {};

const SOURCES_PATH = `${process.env.TRAVIS_BUILD_DIR}/mobile_app`;
const ENV_FILE = `${SOURCES_PATH}/${config.envFile}`;

function getNewEnvFile(data = "", options = {}) {
  console.log(`Reading env file in ${ENV_FILE}`);
  const newContent = data.split('\n')
    .map(line => {
{'fraction_non_alphanumeric': 0.17248255234297108, 'fraction_numerical': 0.0, 'mean_word_length': 5.51948051948052, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4144944', 'n_tokens_mistral': 337, 'n_tokens_neox': 336, 'n_words': 73}