{"action":"created","issue":{"url":"https://api.github.com/repos/NaoeS/close-unmodified-tabs/issues/2","repository_url":"https://api.github.com/repos/NaoeS/close-unmodified-tabs","labels_url":"https://api.github.com/repos/NaoeS/close-unmodified-tabs/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/NaoeS/close-unmodified-tabs/issues/2/comments","events_url":"https://api.github.com/repos/NaoeS/close-unmodified-tabs/issues/2/events","html_url":"https://github.com/NaoeS/close-unmodified-tabs/issues/2","id":137320239,"number":2,"title":"Not working on Windows","user":{"login":"jERCle","id":10472533,"avatar_url":"https://avatars.githubusercontent.com/u/10472533?v=3","gravatar_id":"","url":"https://api.github.com/users/jERCle","html_url":"https://github.com/jERCle","followers_url":"https://api.github.com/users/jERCle/followers","following_url":"https://api.github.com/users/jERCle/following{/other_user}","gists_url":"https://api.github.com/users/jERCle/gists{/gist_id}","starred_url":"https://api.github.com/users/jERCle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jERCle/subscriptions","organizations_url":"https://api.github.com/users/jERCle/orgs","repos_url":"https://api.github.com/users/jERCle/repos","events_url":"https://api.github.com/users/jERCle/events{/privacy}","received_events_url":"https://api.github.com/users/jERCle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-29T17:35:01Z","updated_at":"2016-03-03T13:30:08Z","closed_at":"2016-03-03T13:30:08Z","body":"Hi,\r\nI'm getting the below when using on Windows 10:\r\nWhenever I ran the plugin, the following error appeared:\r\nUncaught TypeError: Cannot read property 'isPathModified' of null\r\n\r\n**Atom Version**: 1.5.3\r\n**System**: Microsoft Windows 10 Home N\r\n**Thrown From**: [close-unmodified-tabs](https://github.com/NaoeS/close-unmodified-tabs) package, v1.0.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'isPathModified' of null\r\n\r\n```\r\nAt /C:/Users/thema/.atom/packages/close-unmodified-tabs/lib/close-unmodified-tabs.coffee:22\r\n\r\nTypeError: Cannot read property 'isPathModified' of null\r\n    at Object.module.exports.isModifiedTab (file:///C:/Users/thema/.atom/packages/close-unmodified-tabs/lib/close-unmodified-tabs.coffee:17:9)\r\n    at Object.module.exports.closeTab (file:///C:/Users/thema/.atom/packages/close-unmodified-tabs/lib/close-unmodified-tabs.coffee:30:31)\r\n    at atom-workspace.subscriptions.add.atom.commands.add.close-unmodified-tabs:closeTab (file:///C:/Users/thema/.atom/packages/close-unmodified-tabs/lib/close-unmodified-tabs.coffee:11:98)\r\n    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\\Users\\thema\\AppData\\Local\\atom\\app-1.5.3\\resources\\app.asar\\src\\command-registry.js:260:29)\r\n    at C:\\Users\\thema\\AppData\\Local\\atom\\app-1.5.3\\resources\\app.asar\\src\\command-registry.js:3:61\r\n    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\\Users\\thema\\AppData\\Local\\atom\\app-1.5.3\\resources\\app.asar\\node_modules\\atom-keymap\\lib\\keymap-manager.js:536:16)\r\n    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\\Users\\thema\\AppData\\Local\\atom\\app-1.5.3\\resources\\app.asar\\node_modules\\atom-keymap\\lib\\keymap-manager.js:359:22)\r\n    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (C:\\Users\\thema\\AppData\\Local\\atom\\app-1.5.3\\resources\\app.asar\\src\\window-event-handler.js:97:36)\r\n    at HTMLDocument.<anonymous> (C:\\Users\\thema\\AppData\\Local\\atom\\app-1.5.3\\resources\\app.asar\\src\\window-event-handler.js:3:61)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -1:25 core:copy (atom-text-editor.editor.is-focused)\r\n     -1:23.7.0 core:paste (atom-text-editor.editor.is-focused)\r\n     -1:20.8.0 core:cut (atom-text-editor.editor.is-focused)\r\n     -1:18.8.0 core:paste (atom-text-editor.editor.is-focused)\r\n     -1:15.6.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -1:15.4.0 core:move-up (atom-text-editor.editor.is-focused)\r\n     -1:15.2.0 core:delete (atom-text-editor.editor.is-focused)\r\n     -1:14.5.0 core:move-down (atom-text-editor.editor.is-focused)\r\n     -1:14 editor:move-to-end-of-word (atom-text-editor.editor.is-focused)\r\n     -1:13.2.0 editor:select-to-end-of-word (atom-text-editor.editor.is-focused)\r\n  9x -1:08.9.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)\r\n     -1:04.2.0 core:save (atom-text-editor.editor.is-focused)\r\n     -1:02.7.0 close-unmodified-tabs:closeTab (atom-text-editor.editor.is-focused)\r\n     -0:10.1.0 core:paste (atom-text-editor.editor.is-focused)\r\n     -0:05.6.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:02.6.0 close-unmodified-tabs:closeTab (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      \"one-dark-ui\",\r\n      \"spacegray-atom-dark-syntax\"\r\n    ]\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.24\r\nclose-unmodified-tabs, v1.0.0\r\ncolor-picker, v2.1.1\r\nemmet, v2.4.1\r\nfile-icons, v1.6.16\r\nminimap, v4.19.0\r\npigments, v0.24.2\r\nspacegray-atom-dark-syntax, v1.1.1\r\nsync-settings, v0.6.0\r\n\r\n# Dev\r\nNo dev packages\r\n```"},"comment":{"url":"https://api.github.com/repos/NaoeS/close-unmodified-tabs/issues/comments/191761853","html_url":"https://github.com/NaoeS/close-unmodified-tabs/issues/2#issuecomment-191761853","issue_url":"https://api.github.com/repos/NaoeS/close-unmodified-tabs/issues/2","id":191761853,"user":{"login":"jERCle","id":10472533,"avatar_url":"https://avatars.githubusercontent.com/u/10472533?v=3","gravatar_id":"","url":"https://api.github.com/users/jERCle","html_url":"https://github.com/jERCle","followers_url":"https://api.github.com/users/jERCle/followers","following_url":"https://api.github.com/users/jERCle/following{/other_user}","gists_url":"https://api.github.com/users/jERCle/gists{/gist_id}","starred_url":"https://api.github.com/users/jERCle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jERCle/subscriptions","organizations_url":"https://api.github.com/users/jERCle/orgs","repos_url":"https://api.github.com/users/jERCle/repos","events_url":"https://api.github.com/users/jERCle/events{/privacy}","received_events_url":"https://api.github.com/users/jERCle/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T13:30:08Z","updated_at":"2016-03-03T13:30:08Z","body":"Ok fantastic"}}