<commit_before>'use strict';

/**
 * Module dependencies.
 */

var through = require('through2');
var reflinks = require('helper-reflinks');
var utils = require('../utils');

/**
 * Append reflinks to `file.contents`
 */

module.exports = function reflinks_() {
  var verb = this;

  return through.obj(function (file, enc, cb) {
    if (file.isNull()) {
      this.push(file);<commit_msg>allow reflinks to be disabled<commit_after>'use strict';

/**
 * Module dependencies.
 */

var through = require('through2');
var reflinks = require('helper-reflinks');
var utils = require('../utils');

/**
 * Append reflinks to `file.contents`
 */

module.exports = function reflinks_() {
  var verb = this;
  var argv = verb.get('argv');

  return through.obj(function (file, enc, cb) {
    if (argv.noreflinks || verb.enabled('noreflinks')) {
      this.push(file);
      return cb();
    }
    if (file.isNull()) {
      this.push(file);
{'fraction_non_alphanumeric': 0.17419354838709677, 'fraction_numerical': 0.002150537634408602, 'mean_word_length': 3.5194174757281553, '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': '4191436', 'n_tokens_mistral': 305, 'n_tokens_neox': 304, 'n_words': 74}