'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
}

@@ -17,17 +17,22 @@
 ort 
-%7B
 get
-Path%7D
+Environment
  fro
@@ -49,12 +49,11 @@
 ent-
-path
+env
 '%0Aex
@@ -273,78 +273,30 @@
 %7B%0A  
-const env = assign(%7B%7D, process.env)%0A  env.PATH = getPath()%0A  return env
+return getEnvironment()
 %0A%7D%0A

Use consistent-env instead of consistent-path