<commit_before>import colors from 'colors'
import path from 'path'
import Promise from 'bluebird'
console.log('OMG Rainbows!'.rainbow) // rainbow
const fs = Promise.promisifyAll(require('fs'))

class Traverser {
  constructor (excludes, initialPath) {
    this.excludes = excludes
    this.initialPath = initialPath
  }

  async traverse (rootPath = this.initialPath) {
    const files = await fs.readdirAsync(rootPath)

    files.forEach(async file => {
      const filePath = makePath(rootPath, file)

      const stats = await fs.statAsync(filePath)

      if (stats.isDirectory() && !this.excludes.has(file)) {
        console.log(`Folder:  ${file}`.red)
        this.traverse(filePath)
      } else {
        console.log(`This file is: ${file}`.green)
      }
    })
  }<commit_msg>remove log<commit_after>import colors from 'colors'
import path from 'path'
import Promise from 'bluebird'

const fs = Promise.promisifyAll(require('fs'))

class Traverser {
  constructor (excludes, initialPath) {
    this.excludes = excludes
    this.initialPath = initialPath
  }

  async traverse (rootPath = this.initialPath) {
    const files = await fs.readdirAsync(rootPath)

    files.forEach(async file => {
      const filePath = makePath(rootPath, file)

      const stats = await fs.statAsync(filePath)

      if (stats.isDirectory() && !this.excludes.has(file)) {
        console.log(`Folder:  ${file}`.red)
        this.traverse(filePath)
      } else {
        console.log(`This file is: ${file}`.green)
      }
    })
  }
{'fraction_non_alphanumeric': 0.12532808398950132, 'fraction_numerical': 0.0, 'mean_word_length': 3.224376731301939, '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': '7439785', 'n_tokens_mistral': 490, 'n_tokens_neox': 467, 'n_words': 110}