{"action":"created","issue":{"url":"https://api.github.com/repos/file-icons/atom/issues/493","repository_url":"https://api.github.com/repos/file-icons/atom","labels_url":"https://api.github.com/repos/file-icons/atom/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/file-icons/atom/issues/493/comments","events_url":"https://api.github.com/repos/file-icons/atom/issues/493/events","html_url":"https://github.com/file-icons/atom/issues/493","id":198635775,"number":493,"title":"Uncaught TypeError: Cannot read property 'indexOf' of undefined","user":{"login":"FlappyHeart","id":2784970,"avatar_url":"https://avatars.githubusercontent.com/u/2784970?v=3","gravatar_id":"","url":"https://api.github.com/users/FlappyHeart","html_url":"https://github.com/FlappyHeart","followers_url":"https://api.github.com/users/FlappyHeart/followers","following_url":"https://api.github.com/users/FlappyHeart/following{/other_user}","gists_url":"https://api.github.com/users/FlappyHeart/gists{/gist_id}","starred_url":"https://api.github.com/users/FlappyHeart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlappyHeart/subscriptions","organizations_url":"https://api.github.com/users/FlappyHeart/orgs","repos_url":"https://api.github.com/users/FlappyHeart/repos","events_url":"https://api.github.com/users/FlappyHeart/events{/privacy}","received_events_url":"https://api.github.com/users/FlappyHeart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-01-04T06:03:44Z","updated_at":"2017-01-04T13:18:14Z","closed_at":"2017-01-04T08:58:51Z","body":"[Enter steps to reproduce below:]\r\n\r\n1. Push cmd+T on Mac\r\n2. Then popup this error\r\n\r\n**Atom Version**: 1.12.8\r\n**Electron Version**: 1.3.13\r\n**System**: Mac OS X 10.12.2\r\n**Thrown From**: [file-icons](https://github.com/file-icons/atom) package, v2.0.6\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'indexOf' of undefined\r\n\r\n```\r\nAt /Users/alfred/.atom/packages/file-icons/lib/filesystem/file.js:276\r\n\r\nTypeError: Cannot read property 'indexOf' of undefined\r\n    at File.watchRepo (/Users/alfred/.atom/packages/file-icons/lib/filesystem/file.js:276:45)\r\n    at new File (/Users/alfred/.atom/packages/file-icons/lib/filesystem/file.js:23:8)\r\n    at FileSystem.get (/Users/alfred/.atom/packages/file-icons/lib/filesystem/filesystem.js:84:7)\r\n    at FuzzyFinder.trackEntry (/Users/alfred/.atom/packages/file-icons/lib/consumers/consumer.js:157:27)\r\n    at timeouts.set._ (/Users/alfred/.atom/packages/file-icons/lib/consumers/fuzzy-finder.js:155:10)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:07.4.0 core:close (div.panels-item)\r\n     -0:05.3.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)\r\n     -0:02.2.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)\r\n     -0:02.2.0 core:cancel (atom-text-editor.editor.mini.is-focused)\r\n     -0:01.1.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)\r\n     -0:01.1.0 core:cancel (atom-text-editor.editor.is-focused)\r\n     -0:00.1.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"language-gfm\",\r\n      \"nav-panel-plus\"\r\n    ],\r\n    \"packagesWithKeymapsDisabled\": [\r\n      \"file-icons\"\r\n    ],\r\n    \"telemetryConsent\": \"no\",\r\n    \"themes\": [\r\n      \"one-dark-ui\",\r\n      \"monokai\"\r\n    ]\r\n  },\r\n  \"file-icons\": {\r\n    \"onChanges\": true,\r\n    \"strategies\": {}\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nadvanced-open-file, v0.16.5 (inactive)\r\natom-autocomplete-php, v0.20.2 (active)\r\natom-beautify, v0.29.16 (inactive)\r\natom-bootstrap3, v1.2.12 (inactive)\r\natom-jinja2, v0.6.0 (active)\r\natom-sync, v0.7.3 (active)\r\nautoclose-html, v0.23.0 (active)\r\nautocomplete-php, v0.3.7 (active)\r\nautocomplete-project-paths, v2.2.0 (active)\r\ncolor-picker, v2.2.3 (active)\r\nemmet, v2.4.3 (active)\r\nfile-header, v1.13.0 (active)\r\nfile-icons, v2.0.6 (active)\r\ngit-plus, v7.0.4 (active)\r\nhighlight-line, v0.11.2 (active)\r\nhighlight-selected, v0.11.2 (active)\r\njquery-snippets, v11.0.0 (active)\r\nlanguage-smarty, v1.7.0 (active)\r\nlinter, v1.11.18 (active)\r\nmonokai, v0.18.0 (active)\r\nnav-panel-plus, v0.1.3 (inactive)\r\npigments, v0.37.0 (active)\r\nreact, v0.16.2 (active)\r\nRemote-FTP, v0.9.4 (active)\r\nremote-sync, v4.1.5 (active)\r\nsequential-number, v0.4.0 (inactive)\r\nsync-settings, v0.8.1 (active)\r\ntodo-show, vundefined (active)\r\natom-dark-syntax, v0.27.0 (inactive)\r\natom-dark-ui, v0.52.0 (inactive)\r\natom-light-syntax, v0.28.0 (inactive)\r\natom-light-ui, v0.45.0 (inactive)\r\nbase16-tomorrow-dark-theme, v1.3.0 (inactive)\r\nbase16-tomorrow-light-theme, v1.3.0 (inactive)\r\none-dark-ui, v1.6.2 (active)\r\none-light-ui, v1.6.2 (inactive)\r\none-dark-syntax, v1.5.0 (inactive)\r\none-light-syntax, v1.5.0 (inactive)\r\nsolarized-dark-syntax, v1.0.5 (inactive)\r\nsolarized-light-syntax, v1.0.5 (inactive)\r\nabout, v1.7.0 (active)\r\narchive-view, v0.62.0 (active)\r\nautocomplete-atom-api, v0.10.0 (active)\r\nautocomplete-css, v0.13.1 (active)\r\nautocomplete-html, v0.7.2 (active)\r\nautocomplete-plus, v2.31.4 (active)\r\nautocomplete-snippets, v1.11.0 (active)\r\nautoflow, v0.27.0 (inactive)\r\nautosave, v0.23.1 (active)\r\nbackground-tips, v0.26.1 (active)\r\nbookmarks, v0.42.0 (active)\r\nbracket-matcher, v0.82.2 (active)\r\ncommand-palette, v0.39.0 (inactive)\r\ndeprecation-cop, v0.54.1 (active)\r\ndev-live-reload, v0.47.0 (active)\r\nencoding-selector, v0.22.0 (active)\r\nexception-reporting, v0.40.0 (active)\r\nfind-and-replace, v0.202.2 (inactive)\r\nfuzzy-finder, v1.4.0 (active)\r\ngit-diff, v1.1.0 (active)\r\ngo-to-line, v0.31.0 (inactive)\r\ngrammar-selector, v0.48.2 (active)\r\nimage-view, v0.60.0 (active)\r\nincompatible-packages, v0.26.1 (active)\r\nkeybinding-resolver, v0.35.0 (active)\r\nline-ending-selector, v0.5.0 (active)\r\nlink, v0.31.2 (inactive)\r\nmarkdown-preview, v0.158.8 (active)\r\nmetrics, v1.1.2 (active)\r\nnotifications, v0.65.1 (active)\r\nopen-on-github, v1.2.1 (inactive)\r\npackage-generator, v1.0.1 (inactive)\r\nsettings-view, v0.243.1 (active)\r\nsnippets, v1.0.4 (active)\r\nspell-check, v0.68.4 (active)\r\nstatus-bar, v1.4.1 (active)\r\nstyleguide, v0.47.2 (active)\r\nsymbols-view, v0.113.1 (inactive)\r\ntabs, v0.103.0 (active)\r\ntimecop, v0.33.2 (active)\r\ntree-view, v0.210.0 (active)\r\nupdate-package-dependencies, v0.10.0 (active)\r\nwelcome, v0.35.1 (active)\r\nwhitespace, v0.35.0 (active)\r\nwrap-guide, v0.38.2 (active)\r\nlanguage-c, v0.54.0 (active)\r\nlanguage-clojure, v0.22.1 (active)\r\nlanguage-coffee-script, v0.48.0 (active)\r\nlanguage-csharp, v0.13.0 (active)\r\nlanguage-css, v0.40.1 (active)\r\nlanguage-gfm, v0.88.0 (inactive)\r\nlanguage-git, v0.15.0 (active)\r\nlanguage-go, v0.43.0 (active)\r\nlanguage-html, v0.47.1 (active)\r\nlanguage-hyperlink, v0.16.1 (active)\r\nlanguage-java, v0.24.0 (active)\r\nlanguage-javascript, v0.122.0 (active)\r\nlanguage-json, v0.18.3 (active)\r\nlanguage-less, v0.29.6 (active)\r\nlanguage-make, v0.22.2 (active)\r\nlanguage-mustache, v0.13.0 (active)\r\nlanguage-objective-c, v0.15.1 (active)\r\nlanguage-perl, v0.37.0 (active)\r\nlanguage-php, v0.37.3 (active)\r\nlanguage-property-list, v0.8.0 (active)\r\nlanguage-python, v0.45.1 (active)\r\nlanguage-ruby, v0.70.2 (active)\r\nlanguage-ruby-on-rails, v0.25.1 (active)\r\nlanguage-sass, v0.57.0 (active)\r\nlanguage-shellscript, v0.23.0 (active)\r\nlanguage-source, v0.9.0 (active)\r\nlanguage-sql, v0.25.0 (active)\r\nlanguage-text, v0.7.1 (active)\r\nlanguage-todo, v0.29.1 (active)\r\nlanguage-toml, v0.18.1 (active)\r\nlanguage-xml, v0.34.12 (active)\r\nlanguage-yaml, v0.27.1 (active)\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/file-icons/atom/issues/comments/270368080","html_url":"https://github.com/file-icons/atom/issues/493#issuecomment-270368080","issue_url":"https://api.github.com/repos/file-icons/atom/issues/493","id":270368080,"user":{"login":"FlappyHeart","id":2784970,"avatar_url":"https://avatars.githubusercontent.com/u/2784970?v=3","gravatar_id":"","url":"https://api.github.com/users/FlappyHeart","html_url":"https://github.com/FlappyHeart","followers_url":"https://api.github.com/users/FlappyHeart/followers","following_url":"https://api.github.com/users/FlappyHeart/following{/other_user}","gists_url":"https://api.github.com/users/FlappyHeart/gists{/gist_id}","starred_url":"https://api.github.com/users/FlappyHeart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlappyHeart/subscriptions","organizations_url":"https://api.github.com/users/FlappyHeart/orgs","repos_url":"https://api.github.com/users/FlappyHeart/repos","events_url":"https://api.github.com/users/FlappyHeart/events{/privacy}","received_events_url":"https://api.github.com/users/FlappyHeart/received_events","type":"User","site_admin":false},"created_at":"2017-01-04T13:18:14Z","updated_at":"2017-01-04T13:18:14Z","body":"I found the new version was published and I update my file-icons to the newest version. Then this issue was fixed. Thanks a lot!"}}
{"actor":{"display_login":"FlappyHeart"}}