<commit_before>var Publisher, filter, publisher, cb;

Publisher = require('aws-publisher');

publisher = new Publisher({
    bucket: 'components.robberthalff.com',
    key: process.env.AWS_KEY,
    secret: process.env.AWS_SECRET,
    region: 'us-west-2'
});


filter = function(f, stat) {
  return stat.isDirectory() || /\.(js|ts|json|html|jpg|gif|png|css)$/.test(f);
};

cb = function(res) {
  console.log('we are done!');
}

publisher.publishDir({
    origin: 'chix',
    dest: 'chix',
    filter: filter
}, cb);<commit_msg>publish to root<commit_after>var Publisher, filter, publisher, cb;

Publisher = require('aws-publisher');

publisher = new Publisher({
    bucket: 'components.robberthalff.com',
    key: process.env.AWS_KEY,
    secret: process.env.AWS_SECRET,
    region: 'us-west-2'
});


filter = function(f, stat) {
  return stat.isDirectory() || /\.(js|ts|json|html|jpg|gif|png|css)$/.test(f);
};

cb = function(res) {
  console.log('we are done!');
}

publisher.publishDir({
    origin: 'chix',
    dest: '',
    filter: filter
}, cb);
{'fraction_non_alphanumeric': 0.18476190476190477, 'fraction_numerical': 0.0019047619047619048, 'mean_word_length': 4.0772946859903385, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6378324', 'n_tokens_mistral': 394, 'n_tokens_neox': 385, 'n_words': 74}