   # 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)

  copySelectedEntry: ->
    if @hasFocus()
      entry = @selectedEntry()
      return unless entry isnt root
      oldPath = entry.getPath()
    else
      oldPath = @getActivePath()

  # 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)
