rjaviervega / tree-view-git-modified

Atom.io package to display pane with git modified files
MIT License
11 stars 7 forks source link

Uncaught TypeError: Cannot read property 'indexOf' of undefined #26

Open fruwe opened 6 years ago

fruwe commented 6 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.30.0 x64 Electron: 2.0.5 OS: Mac OS X 10.13.6 Thrown From: tree-view-git-modified package 0.7.3

Stack Trace

Uncaught TypeError: Cannot read property 'indexOf' of undefined

At /Users/chris/.atom/packages/tree-view-git-modified/lib/tree-view-git-modified-pane-view.coffee:145

TypeError: Cannot read property 'indexOf' of undefined
    at /packages/tree-view-git-modified/lib/tree-view-git-modified-pane-view.coffee:145:31
    at Function.find (/packages/tree-view-git-modified/node_modules/lodash/dist/lodash.js:3217:15)
    at TreeViewOpenFilesPaneView.module.exports.TreeViewOpenFilesPaneView.entryForItem (/packages/tree-view-git-modified/lib/tree-view-git-modified-pane-view.coffee:143:7)
    at TreeViewOpenFilesPaneView.module.exports.TreeViewOpenFilesPaneView.setActiveEntry (/packages/tree-view-git-modified/lib/tree-view-git-modified-pane-view.coffee:155:19)
    at /packages/tree-view-git-modified/lib/tree-view-git-modified-pane-view.coffee:79:8
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:27:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:156:34)
    at Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:443:26)
    at Pane.activateItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:583:18)
    at TabBarView.module.exports.TabBarView.onClick (/Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:730:25)

Commands

     -3:13 editor:consolidate-selections (input.hidden-input)
     -3:13 core:cancel (input.hidden-input)
     -3:11 core:move-down (input.hidden-input)
     -2:44 editor:newline (input.hidden-input)
  2x -2:40.5.0 core:backspace (input.hidden-input)
     -1:39.4.0 autocomplete-plus:cancel (input.hidden-input)
  3x -1:35.5.0 core:backspace (input.hidden-input)
     -1:17.7.0 autocomplete-plus:cancel (input.hidden-input)
     -1:11.9.0 editor:consolidate-selections (input.hidden-input)
     -1:11.9.0 core:cancel (input.hidden-input)
     -1:03.5.0 editor:newline (input.hidden-input)
  2x -1:02.5.0 core:backspace (input.hidden-input)
     -0:36.9.0 autocomplete-plus:cancel (input.hidden-input)
     -0:35.9.0 core:move-right (input.hidden-input)
     -0:14.6.0 core:move-left (input.hidden-input)
  4x -0:12.4.0 core:backspace (input.hidden-input)

Non-Core Packages

atom-cli-diff 1.9.0 
atom-pair 2.0.13 
atom-realtime-collaboration 0.7.1 
atom-terminal 0.8.0 
atom-typescript 12.6.3 
autocomplete-gemfile 0.0.5 
build-dockerfile 1.0.1 
busy-signal 1.4.3 
crystal-slang 1.0.0 
git-control 0.9.0 
git-plus 8.1.0 
goto-definition 1.3.4 
hide-files 0.3.0 
ide-crystal 0.3.3 
intentions 1.1.5 
language-crystal-actual 0.37.2 
language-docker 1.1.8 
language-dotenv 1.2.0 
language-elixir 0.22.1 
language-graphql 0.10.1 
language-groovy 0.7.0 
language-haml 0.31.1 
language-lua 0.9.11 
language-nginx 0.8.0 
language-slim 1.0.0 
language-terraform 0.8.1 
language-varnish 0.6.0 
language-vue 0.23.1 
line-diff-details 1.9.0 
linter 2.2.0 
linter-eslint 8.4.1 
linter-golinter 1.2.2 
linter-terraform-syntax 1.2.4 
linter-ui-default 1.7.1 
minimap 4.29.8 
minimap-bookmarks 0.4.2 
minimap-cursorline 0.2.0 
minimap-git-diff 4.3.1 
nav-panel-plus 0.3.2 
platformio-ide-terminal 2.8.4 
project-manager 3.3.6 
sort-lines 0.18.0 
ssh-config 0.14.0 
Sublime-Style-Column-Selection 1.7.4 
tablr 1.8.3 
teletype 0.13.3 
tree-view-git-modified 0.7.3 
vue2-autocomplete 0.1.0-alpha.4