<commit_before>var http = require('http'),
    qs = require('querystring');

var url = '127.0.0.1',
    port = 1337;

var server = http.createServer(function (req,res) {
    var body = "";
    req.on('data', function (chunk) {
        body += chunk;
    }).on('end', function () {
        var payload = JSON.parse(qs.parse(body).payload);
        var name = payload.repository.name;
        var docRoot = '/var/www/';

        console.log(payload.ref);
        if(payload.ref == 'refs/heads/master') {
            console.log("Check for "+docRoot+payload.repository.name);
            console.log("If No: sudo -u http git clone "+payload.repository.url+".git "+docRoot+payload.repository.name);
            console.log("If Yes: cd "+docRoot+payload.repository.name+" && sudo -u http git pull "+payload.repository.url+".git master");
        }

        res.writeHead(200);
        res.end();
    });   
}).listen(port, url);
console.log('Server running at http://'+url+':'+port+'/');<commit_msg>Adjusts whitespace<commit_after>var http = require('http'),
    qs = require('querystring');

var url = '127.0.0.1',
    port = 1337;

var server = http.createServer(function (req,res) {
    var body = "";
    req.on('data', function (chunk) {
        body += chunk;
    }).on('end', function () {
        var payload = JSON.parse(qs.parse(body).payload);
        var name = payload.repository.name;
        var docRoot = '/var/www/';

        console.log(payload.ref);
        if(payload.ref == 'refs/heads/master') {
            console.log("Check for "+docRoot+payload.repository.name);
            console.log("If No: sudo -u http git clone "+payload.repository.url+".git "+docRoot+payload.repository.name);
            console.log("If Yes: cd "+docRoot+payload.repository.name+" && sudo -u http git pull "+payload.repository.url+".git master");

    }

        res.writeHead(200);
        res.end();
    });   
}).listen(port, url);
console.log('Server running at http://'+url+':'+port+'/');
{'fraction_non_alphanumeric': 0.1829145728643216, 'fraction_numerical': 0.01306532663316583, 'mean_word_length': 2.7354596622889304, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '1294152', 'n_tokens_mistral': 637, 'n_tokens_neox': 607, 'n_words': 132}