<commit_before>'use babel'

import {getPath} from 'consistent-path'
export {tempFile} from 'atom-linter'

const assign = Object.assign || function(target, source) {
    for (const key in source) {
      target[key] = source[key]
    }
    return target
  }

export function getEnv() {
  const env = assign({}, process.env)
  env.PATH = getPath()
  return env
}<commit_msg>:new: Use consistent-env instead of consistent-path<commit_after>'use babel'

import getEnvironment from 'consistent-env'
export {tempFile} from 'atom-linter'

const assign = Object.assign || function(target, source) {
    for (const key in source) {
      target[key] = source[key]
    }
    return target
  }

export function getEnv() {
  return getEnvironment()
}
{'fraction_non_alphanumeric': 0.12059620596205962, 'fraction_numerical': 0.0, 'mean_word_length': 3.861842105263158, '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': '6149590', 'n_tokens_mistral': 232, 'n_tokens_neox': 228, 'n_words': 69}