 path = require 'path'
+util = require 'util'
 fs = require 'fs-plus'
 chokidar = require 'chokidar'
 globToRegexp = require 'glob-to-regexp'

      devMode = atom.inDevMode()
      clearTimeout @functionPoll
      @functionConditions = []
      for btn in toolBarButtons

        if ( btn.hide? && @condition(btn.hide) ) or ( btn.show? && !@condition(btn.show) )
          continue

        continue if btn.mode and btn.mode is 'dev' and not devMode

        return true
      catch err
        @configFilePath = null
        atom.notifications.addError 'Something went wrong creating the Tool Bar config file! Please restart Atom to try again.', detail: err.stack
        console.error err
        return false

