leny / atom-tree-ignore

Use a .atomignore file to hide files & folder in tree view
MIT License
41 stars 13 forks source link

Uncaught TypeError: Cannot read property '/home/jeremi360/SparkleShare/GodotTutPL/' of undefined #23

Closed Jeremi360 closed 8 years ago

Jeremi360 commented 8 years ago

[Enter steps to reproduce below:]

Try to toggle this package.

Atom Version: 1.5.4 System: Ubuntu 15.10 Thrown From: tree-ignore package, v0.6.1

Stack Trace

Uncaught TypeError: Cannot read property '/home/jeremi360/SparkleShare/GodotTutPL/' of undefined

At /home/jeremi360/.atom/packages/tree-ignore/lib/tree-ignore.js:157

TypeError: Cannot read property '/home/jeremi360/SparkleShare/GodotTutPL/' of undefined
    at _fHandleIgnoreFile (/home/jeremi360/.atom/packages/tree-ignore/lib/tree-ignore.js:157:40)
    at HTMLSpanElement.<anonymous> (/home/jeremi360/.atom/packages/tree-ignore/lib/tree-ignore.js:106:31)
    at Function.jQuery.extend.each (/opt/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:374:23)
    at [object Object].jQuery.fn.jQuery.each (/opt/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:139:17)
    at _fUpdate (/home/jeremi360/.atom/packages/tree-ignore/lib/tree-ignore.js:92:46)
    at _fApply (/home/jeremi360/.atom/packages/tree-ignore/lib/tree-ignore.js:72:5)
    at atom-workspace.treeIgnoreToggle (/home/jeremi360/.atom/packages/tree-ignore/lib/tree-ignore.js:33:13)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/atom/resources/app.asar/src/command-registry.js:260:29)
    at /opt/atom/resources/app.asar/src/command-registry.js:3:61
    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/opt/atom/resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/opt/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-div.atom.commands.add.core:confirm (/opt/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/atom/resources/app.asar/src/command-registry.js:260:29)
    at /opt/atom/resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/opt/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:570:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/opt/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:378:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/opt/atom/resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/opt/atom/resources/app.asar/src/window-event-handler.js:3:61)

Commands

  2x -4:16.1.0 key-binding-resolver:toggle (ul.list-tree.has-collapsable-children)
  2x -4:13 settings-view:open (ul.list-tree.has-collapsable-children)
     -3:50.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  2x -3:47.5.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -3:46.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
 10x -2:43.3.0 git-hide:toggle-ignored-file-state (div.package-detail.panels-item)
  3x -2:36.3.0 tree-view:collapse-directory (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel.ignore-hidden)
     -2:35.1.0 git-hide:toggle-ignored-file-state (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel.ignore-hidden)
     -2:33.1.0 tree-view:collapse-directory (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  8x -2:06.1.0 git-hide:toggle-ignored-file-state (input#git-hide.hideOnStartup.)
     -0:41.1.0 core:confirm (atom-text-editor#tree-ignore.ignoreFileName.editor.mini.is-focused)
     -0:17.1.0 command-palette:toggle (div.package-readme.native-key-bindings)
  3x -0:11.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:04.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:04.1.0 tree-ignore:toggle (div.package-readme.native-key-bindings)

Config

{
  "core": {
    "packagesWithKeymapsDisabled": []
  },
  "tree-ignore": {
    "enabled": false,
    "ignoreFileName": ".gitignore"
  }
}

Installed Packages

# User
autocomplete-gdscript, v0.4.0
autocomplete-paths, v1.0.2
autocomplete-python, v1.7.0
lang-gdscript, v3.1.0
language-rapydscript, v0.4.0
project-viewer, v0.2.31
python-tools, v0.6.7
tree-ignore, v0.6.1

# Dev
No dev packages