<commit_before>
var request = require('request');
require('dotenv').config();

var convert = function(params, callback) {

  if ( (params.cid === undefined) || (params.lac === undefined) ) {
    callback(new Error ("Invalid parameters, object must have keys {cid, lac}"));
    return;
  }

  var apikey = process.env.MLS_API_KEY || 'test'

  var url = 'https://location.services.mozilla.com/v1/geolocate?key=' + apikey;

  var post_params = {
    "cellTowers": [{
      "locationAreaCode": params.lac,
      "cellId": params.cid,
    }]
  };

  request.post(url, params, function (error, response, body) {
    if (error) {<commit_msg>ISSUE #37 Fix lint issue from previous commit<commit_after>
var request = require('request');
require('dotenv').config();

var convert = function(params, callback) {

  if ( (params.cid === undefined) || (params.lac === undefined) ) {
    callback(new Error ("Invalid parameters, object must have keys {cid, lac}"));
    return;
  }

  var apikey = process.env.MLS_API_KEY || 'test'

  var url = 'https://location.services.mozilla.com/v1/geolocate?key=' + apikey;

  var post_params = {
    "cellTowers": [{
      "locationAreaCode": params.lac,
      "cellId": params.cid,
    }]
  };

  request.post(url, post_params, function (error, response, body) {
    if (error) {
{'fraction_non_alphanumeric': 0.16475095785440613, 'fraction_numerical': 0.0030651340996168583, 'mean_word_length': 3.697841726618705, 'pattern_counts': {'":': 6, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '895130', 'n_tokens_mistral': 439, 'n_tokens_neox': 424, 'n_words': 103}