<commit_before>var express = require('express');
var app = express();
var path = require('path');

var port = 8080;
<commit_msg>Let the environment tell you what port to use (if possible).<commit_after>var express = require('express');
var app = express();
var path = require('path');

// Default to use 8080, unless environment variable is set:
if (process.env.PORT == undefined) {
	var port = 8080
} else{
	var port = process.env.PORT;
}

console.log(port)

{'fraction_non_alphanumeric': 0.14161220043572983, 'fraction_numerical': 0.026143790849673203, 'mean_word_length': 4.822784810126582, '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': '439018', 'n_tokens_mistral': 149, 'n_tokens_neox': 139, 'n_words': 51}