Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Fix remaining specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Wliu authored and Wliu committed Feb 28, 2018
1 parent 7b030cd commit 089acd6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/directory-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,22 +116,32 @@ class DirectoryView {
createViewForEntry(entry) {
const view = entry instanceof Directory ? new DirectoryView(entry) : new FileView(entry)

<<<<<<< HEAD
<<<<<<< HEAD
const subscription = this.directory.onDidRemoveEntries(removedEntries => {
=======
this.subscriptions.add(this.directory.onDidRemoveEntries(removedEntries => {
>>>>>>> Start to fix specs
=======
const subscription = this.directory.onDidRemoveEntries(removedEntries => {
>>>>>>> Fix remaining specs
if (removedEntries.has(entry)) {
view.element.remove()
subscription.dispose()
}
<<<<<<< HEAD
<<<<<<< HEAD
})

this.subscriptions.add(subscription)
=======
}))
>>>>>>> Start to fix specs
=======
})

this.subscriptions.add(subscription)
>>>>>>> Fix remaining specs

return view
}
Expand Down

0 comments on commit 089acd6

Please sign in to comment.