{"action":"created","issue":{"url":"https://api.github.com/repos/dingjie/atom-sync/issues/6","labels_url":"https://api.github.com/repos/dingjie/atom-sync/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/dingjie/atom-sync/issues/6/comments","events_url":"https://api.github.com/repos/dingjie/atom-sync/issues/6/events","html_url":"https://github.com/dingjie/atom-sync/issues/6","id":90665466,"number":6,"title":"Uncaught TypeError: Cannot read property 'indexOf' of undefined","user":{"login":"dingjie","id":586262,"avatar_url":"https://avatars.githubusercontent.com/u/586262?v=3","gravatar_id":"","url":"https://api.github.com/users/dingjie","html_url":"https://github.com/dingjie","followers_url":"https://api.github.com/users/dingjie/followers","following_url":"https://api.github.com/users/dingjie/following{/other_user}","gists_url":"https://api.github.com/users/dingjie/gists{/gist_id}","starred_url":"https://api.github.com/users/dingjie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dingjie/subscriptions","organizations_url":"https://api.github.com/users/dingjie/orgs","repos_url":"https://api.github.com/users/dingjie/repos","events_url":"https://api.github.com/users/dingjie/events{/privacy}","received_events_url":"https://api.github.com/users/dingjie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dingjie/atom-sync/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"dingjie","id":586262,"avatar_url":"https://avatars.githubusercontent.com/u/586262?v=3","gravatar_id":"","url":"https://api.github.com/users/dingjie","html_url":"https://github.com/dingjie","followers_url":"https://api.github.com/users/dingjie/followers","following_url":"https://api.github.com/users/dingjie/following{/other_user}","gists_url":"https://api.github.com/users/dingjie/gists{/gist_id}","starred_url":"https://api.github.com/users/dingjie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dingjie/subscriptions","organizations_url":"https://api.github.com/users/dingjie/orgs","repos_url":"https://api.github.com/users/dingjie/repos","events_url":"https://api.github.com/users/dingjie/events{/privacy}","received_events_url":"https://api.github.com/users/dingjie/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-06-24T12:43:57Z","updated_at":"2015-12-22T13:37:29Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 0.211.0\r\n**System**: Mac OS X 10.10.3\r\n**Thrown From**: [atom-sync](https://github.com/dingjie/atom-sync) package, v0.4.5\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 /Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:762\r\n\r\nTypeError: Cannot read property 'indexOf' of undefined\r\n  at Object.module.exports.ConfigHelper.isExcluded (/Users/dingjie/github/atom-sync/lib/helper/config-helper.coffee:33:20)\r\n  at Object.module.exports.ServiceController.onSync (/Users/dingjie/github/atom-sync/lib/controller/service-controller.coffee:44:20)\r\n  at Object.module.exports.ServiceController.onSave (/Users/dingjie/github/atom-sync/lib/controller/service-controller.coffee:27:10)\r\n  at /Users/dingjie/github/atom-sync/lib/atom-sync.coffee:31:29\r\n  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)\r\n  at TextBuffer.module.exports.TextBuffer.saveAs (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:996:20)\r\n  at TextBuffer.module.exports.TextBuffer.save (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:978:19)\r\n  at TextEditor.module.exports.TextEditor.save (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:579:26)\r\n  at Pane.module.exports.Pane.saveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:523:18)\r\n  at Pane.module.exports.Pane.saveActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:506:19)\r\n  at Workspace.module.exports.Workspace.saveActivePaneItem (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:592:35)\r\n  at atom-workspace.atom.commands.add.core:save (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace-element.js:317:30)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)\r\n  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61\r\n  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)\r\n  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)\r\n  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:180:20)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  2x -0:45.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n     -0:28.8.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)\r\n     -0:28.8.0 core:cancel (atom-text-editor.editor.is-focused)\r\n     -0:26.9.0 core:close (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)\r\n     -0:14.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n     -0:05.9.0 core:move-right (atom-text-editor.editor.mini.is-focused)\r\n     -0:05.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n     -0:03.2.0 core:save (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    \"themes\": [\r\n      \"isotope-ui\",\r\n      \"tomorrow-night-eighties-syntax\"\r\n    ],\r\n    \"disabledPackages\": []\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-beautify, v0.28.5\r\natom-sync, v0.4.5\r\nautocomplete-php, v0.3.6\r\nbrowser-plus, v0.0.23\r\ncoffee-compile, v0.16.1\r\ncolor-picker, v2.0.7\r\ncss-snippets, v0.8.0\r\ndocs-snippets, v0.8.0\r\nemmet, v2.3.10\r\nfile-icons, v1.5.7\r\nfonts, v0.4.2\r\nisotope-ui, v2.4.1\r\nlinter, v0.12.7\r\nlinter-csslint, v0.0.13\r\nlinter-htmlhint, v0.0.16\r\nlinter-jshint, v0.1.6\r\nlinter-less, v0.5.0\r\nlinter-php, v0.0.15\r\nminimap, v4.10.0\r\nminimap-find-and-replace, v4.2.0\r\npigments, v0.8.0\r\nproject-manager, v1.15.10\r\ntomorrow-night-eighties-syntax, v0.6.1\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dingjie/atom-sync/issues/comments/166620518","html_url":"https://github.com/dingjie/atom-sync/issues/6#issuecomment-166620518","issue_url":"https://api.github.com/repos/dingjie/atom-sync/issues/6","id":166620518,"user":{"login":"chris-aeviator","id":11522213,"avatar_url":"https://avatars.githubusercontent.com/u/11522213?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-aeviator","html_url":"https://github.com/chris-aeviator","followers_url":"https://api.github.com/users/chris-aeviator/followers","following_url":"https://api.github.com/users/chris-aeviator/following{/other_user}","gists_url":"https://api.github.com/users/chris-aeviator/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-aeviator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-aeviator/subscriptions","organizations_url":"https://api.github.com/users/chris-aeviator/orgs","repos_url":"https://api.github.com/users/chris-aeviator/repos","events_url":"https://api.github.com/users/chris-aeviator/events{/privacy}","received_events_url":"https://api.github.com/users/chris-aeviator/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T13:37:29Z","updated_at":"2015-12-22T13:37:29Z","body":"happens to me with both, tree open and closed, osx"}}