   # Returns `cutPath`
   cutSelectedEntries: ->
     selectedPaths = @selectedPaths()
-    return unless selectedPaths && selectedPaths.length > 0
+    return unless selectedPaths and selectedPaths.length > 0
     # save to localStorage so we can paste across multiple open apps
     LocalStorage.removeItem('tree-view:copyPath')
     LocalStorage['tree-view:cutPath'] = JSON.stringify(selectedPaths)

        else if cutPaths
          # Only move the target if the cut target doesn't exists and if the newPath
          # is not within the initial path
          unless fs.existsSync(newPath) || !!newPath.match(new RegExp("^#{initialPath}"))
            fs.moveSync(initialPath, newPath)

  add: (isCreatingFile) ->

  # Returns `copyPath`.
  copySelectedEntries: ->
    selectedPaths = @selectedPaths()
    return unless selectedPaths and selectedPaths.length > 0
    # save to localStorage so we can paste across multiple open apps
    LocalStorage.removeItem('tree-view:cutPath')
    LocalStorage['tree-view:copyPath'] = JSON.stringify(selectedPaths)
