   envs = getUserHome()
   home = path.normalize(path.join(envs, config))
   proj = findFile(config, dir)
-  return proj  if proj
-  return home  if verifyExists(home)
+  return proj if proj
+  return home if verifyExists(home)
   null
 getConfigOptionsFromSettings = (langs) ->
   config = atom.config.getSettings()["atom-beautify"]

    homeOptions
    projectOptions
  ]

  # Finally, beautify!
  beautifier.beautify text, editor.getGrammar().name, allOptions, beautifyCompleted
  return
handleSaveEvent = ->
  atom.workspace.eachEditor (editor) ->

# global atom

"use strict"
plugin = module.exports
fs = require("fs")
path = require("path")
_ = require("lodash")
strip = require("strip-json-comments")
yaml = require("js-yaml")
beautifier = require("./language-options")
languages = beautifier.languages
defaultLanguageOptions = beautifier.defaultLanguageOptions
MessageView = require "./message-view"
findFileResults = {}

# CLI
getUserHome = ->
