<commit_before>"use strict";
const fs = require("fs");
require("shelljs/global");

const server = "";
const scripts = [];
const stylesheets = [];
const folders = ["."];
const find = "";

function css(url) {
  return '<link rel="stylesheet" href="' + url + '.css"/>\n'
}
function js(url) {
  return '<script src="' + url + '.js"></script>\n';
}

const injection = "";
stylesheets.forEach(stylesheet => injection += css(server + stylesheet));
        scripts.forEach(script => injection +=  js(server + script));

folders 
fs.readdir(".", (err, files) => {
  files.filter(file => file.endsWith(".html")).forEach(file => {
    sed("-i", new RegExp(find), find + "\n" + injection, file);
  });
});<commit_msg>:hammer:<commit_after>"use strict";
const fs = require("fs");
require("shelljs/global");

const server = "";
const scripts = [];
const stylesheets = [];
const folders = ["."];
const find = "";

function css(url) {
  return '<link rel="stylesheet" href="' + url + '.css"/>\n'
}
function js(url) {
  return '<script src="' + url + '.js"></script>\n';
}

let injection = "";
stylesheets.forEach(stylesheet => injection += css(server + stylesheet));
        scripts.forEach(script => injection +=  js(server + script));

folders 
fs.readdir(".", (err, files) => {
  files.filter(file => file.endsWith(".html")).forEach(file => {
    sed("-i", new RegExp(find), find + "\n" + injection, file);
  });
});
{'fraction_non_alphanumeric': 0.21993127147766323, 'fraction_numerical': 0.0, 'mean_word_length': 3.5642633228840124, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 19, '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': '1164434', 'n_tokens_mistral': 469, 'n_tokens_neox': 463, 'n_words': 108}