<commit_before>const Amqp = require('amqplib/callback_api');

module.exports = function Channel(url, opts, done) {
  Amqp.connect(url, opts, (err, conn) => {
    if (err) return done(err);

    conn.createChannel((err, ch) => {
      if (err) return done(err);

      done(null, ch, conn);
    });
  });
};<commit_msg>Remove fat arrow function expressions<commit_after>const Amqp = require('amqplib/callback_api');

module.exports = function Channel(url, opts, done) {
  Amqp.connect(url, opts, function (err, conn) {
    if (err) return done(err);

    conn.createChannel(function (err, ch) {
      if (err) return done(err);

      done(null, ch, conn);
    });
  });
};
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.0, 'mean_word_length': 3.7062937062937062, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1821249', 'n_tokens_mistral': 230, 'n_tokens_neox': 225, 'n_words': 56}