           if fs.isFileSync(pathToCheck)
             @projectToolbarConfigPath = pathToCheck
           else
-            @projectToolbarConfigPath = fs.resolve pathToCheck, 'toolbar', ['cson', 'json5', 'json', 'js', 'coffee']
+            found = fs.resolve pathToCheck, 'toolbar', ['cson', 'json5', 'json', 'js', 'coffee']
+            @projectToolbarConfigPath = found if found
 
     if @projectToolbarConfigPath is @configFilePath
       @projectToolbarConfigPath = null

  watchList: []

  config:
    toolBarConfigurationFilePath:
      type: 'string'
      default: atom.getConfigDirPath()
    toolBarProjectConfigurationFilePath:
      type: 'string'
      default: '.'
    reloadToolBarWhenEditConfigFile:
      type: 'boolean'
      default: true
    reloadToolBarNotification:
      type: 'boolean'
      default: true
    useBrowserPlusWhenItIsActive:
      type: 'boolean'
      default: false

        return false

  resolveProjectConfigPath: ->
    persistent = atom.config.get 'flex-tool-bar.persistentProjectToolBar'
    @projectToolbarConfigPath = null unless persistent
    relativeProjectConfigPath = atom.config.get 'flex-tool-bar.toolBarProjectConfigurationFilePath'
    editor = atom.workspace.getActivePaneItem()
    file = editor?.buffer?.file or editor?.file
