<commit_before>#!/usr/bin/env node

var fs = require('fs-extra');

console.log("=============================================");
console.log("Starting WordPress Hybrid Client Installation");
console.log("=============================================");

copy('../dist/config', '../config');
copy('../dist/root/config.xml', '../config.xml');
copy('../dist/root/ionic.config.json', '../ionic.config.json');
copy('../release.sh.dist', '../release.sh');

function copy(source, target, overwrite) {
    if (!overwrite && fs.existsSync(target)) {
        console.log('the destination already exist, will not overwrite: ' + target);
        return;
    }
    fs.copy(source, target, function(err) {
        if (err) return console.error(err)
        console.log('success: ' + target)
    })
}
<commit_msg>forces config overwrite when CI<commit_after>#!/usr/bin/env node

var fs = require('fs-extra');

console.log("=============================================");
console.log("Starting WordPress Hybrid Client Installation");
console.log("=============================================");

copy('../dist/config', '../config');
copy('../dist/root/config.xml', '../config.xml');
copy('../dist/root/ionic.config.json', '../ionic.config.json');
copy('../release.sh.dist', '../release.sh');

function copy(source, target, overwrite) {
    overwrite = process.env.CI ? true : overwrite;
    if (!overwrite && fs.existsSync(target)) {
        console.log('the destination already exist, will not overwrite: ' + target);
        return;
    }
    fs.copy(source, target, function (err) {
        if (err) return console.error(err)
        console.log('success: ' + target)
    })
}

{'fraction_non_alphanumeric': 0.2917166866746699, 'fraction_numerical': 0.0, 'mean_word_length': 3.9465875370919883, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '612571', 'n_tokens_mistral': 486, 'n_tokens_neox': 463, 'n_words': 99}