{"action":"created","comment":{"url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/pulls/comments/50624394","id":50624394,"diff_hunk":"@@ -2,26 +2,33 @@\n {find} = helpers = require 'atom-linter'\n path = require 'path'\n globule = require 'globule'\n+ChildProcess = require('child_process')\n+prefixPath = null\n+fixPath = require 'fix-path'","path":"lib/main.coffee","position":6,"original_position":6,"commit_id":"da781653f3dcb6f9d944e8a5f9023e837e2535d9","original_commit_id":"da781653f3dcb6f9d944e8a5f9023e837e2535d9","user":{"login":"DanPurdy","id":1386054,"avatar_url":"https://avatars.githubusercontent.com/u/1386054?v=3","gravatar_id":"","url":"https://api.github.com/users/DanPurdy","html_url":"https://github.com/DanPurdy","followers_url":"https://api.github.com/users/DanPurdy/followers","following_url":"https://api.github.com/users/DanPurdy/following{/other_user}","gists_url":"https://api.github.com/users/DanPurdy/gists{/gist_id}","starred_url":"https://api.github.com/users/DanPurdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanPurdy/subscriptions","organizations_url":"https://api.github.com/users/DanPurdy/orgs","repos_url":"https://api.github.com/users/DanPurdy/repos","events_url":"https://api.github.com/users/DanPurdy/events{/privacy}","received_events_url":"https://api.github.com/users/DanPurdy/received_events","type":"User","site_admin":false},"body":"I thought as much, was driving me round in circles! :smile: \r\n\r\nThanks, i'll update now with some tests too","created_at":"2016-01-23T19:21:04Z","updated_at":"2016-01-23T19:21:04Z","html_url":"https://github.com/AtomLinter/linter-sass-lint/pull/18#discussion_r50624394","pull_request_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/AtomLinter/linter-sass-lint/pulls/comments/50624394"},"html":{"href":"https://github.com/AtomLinter/linter-sass-lint/pull/18#discussion_r50624394"},"pull_request":{"href":"https://api.github.com/repos/AtomLinter/linter-sass-lint/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/pulls/18","id":56983864,"html_url":"https://github.com/AtomLinter/linter-sass-lint/pull/18","diff_url":"https://github.com/AtomLinter/linter-sass-lint/pull/18.diff","patch_url":"https://github.com/AtomLinter/linter-sass-lint/pull/18.patch","issue_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/issues/18","number":18,"state":"open","locked":false,"title":"Update to use included or global sass-lint","user":{"login":"DanPurdy","id":1386054,"avatar_url":"https://avatars.githubusercontent.com/u/1386054?v=3","gravatar_id":"","url":"https://api.github.com/users/DanPurdy","html_url":"https://github.com/DanPurdy","followers_url":"https://api.github.com/users/DanPurdy/followers","following_url":"https://api.github.com/users/DanPurdy/following{/other_user}","gists_url":"https://api.github.com/users/DanPurdy/gists{/gist_id}","starred_url":"https://api.github.com/users/DanPurdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanPurdy/subscriptions","organizations_url":"https://api.github.com/users/DanPurdy/orgs","repos_url":"https://api.github.com/users/DanPurdy/repos","events_url":"https://api.github.com/users/DanPurdy/events{/privacy}","received_events_url":"https://api.github.com/users/DanPurdy/received_events","type":"User","site_admin":false},"body":"Borrowing fairly heavily from linter-eslint on the advice of @Arcanemagus in #3 I've updated linter-sass-lint to use either the `sass-lint` packaged with this plugin or a users globally installed sass-lint borrowing some of the tricks as mentioned to determine the users PATH etc if not specified.\r\n\r\nCloses #3 \r\n\r\nstill to do \r\n- [ ] investigate specs","created_at":"2016-01-23T19:13:21Z","updated_at":"2016-01-23T19:21:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f25d1363958ef835f2e5178c9b4c74163803ce3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/pulls/18/commits","review_comments_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/pulls/18/comments","review_comment_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/issues/18/comments","statuses_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/statuses/da781653f3dcb6f9d944e8a5f9023e837e2535d9","head":{"label":"AtomLinter:feature/update-to-global","ref":"feature/update-to-global","sha":"da781653f3dcb6f9d944e8a5f9023e837e2535d9","user":{"login":"AtomLinter","id":7242824,"avatar_url":"https://avatars.githubusercontent.com/u/7242824?v=3","gravatar_id":"","url":"https://api.github.com/users/AtomLinter","html_url":"https://github.com/AtomLinter","followers_url":"https://api.github.com/users/AtomLinter/followers","following_url":"https://api.github.com/users/AtomLinter/following{/other_user}","gists_url":"https://api.github.com/users/AtomLinter/gists{/gist_id}","starred_url":"https://api.github.com/users/AtomLinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtomLinter/subscriptions","organizations_url":"https://api.github.com/users/AtomLinter/orgs","repos_url":"https://api.github.com/users/AtomLinter/repos","events_url":"https://api.github.com/users/AtomLinter/events{/privacy}","received_events_url":"https://api.github.com/users/AtomLinter/received_events","type":"Organization","site_admin":false},"repo":{"id":48285653,"name":"linter-sass-lint","full_name":"AtomLinter/linter-sass-lint","owner":{"login":"AtomLinter","id":7242824,"avatar_url":"https://avatars.githubusercontent.com/u/7242824?v=3","gravatar_id":"","url":"https://api.github.com/users/AtomLinter","html_url":"https://github.com/AtomLinter","followers_url":"https://api.github.com/users/AtomLinter/followers","following_url":"https://api.github.com/users/AtomLinter/following{/other_user}","gists_url":"https://api.github.com/users/AtomLinter/gists{/gist_id}","starred_url":"https://api.github.com/users/AtomLinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtomLinter/subscriptions","organizations_url":"https://api.github.com/users/AtomLinter/orgs","repos_url":"https://api.github.com/users/AtomLinter/repos","events_url":"https://api.github.com/users/AtomLinter/events{/privacy}","received_events_url":"https://api.github.com/users/AtomLinter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AtomLinter/linter-sass-lint","description":"A plugin for the Atom linter to interface with sass-lint - the all node scss/Sass linter","fork":false,"url":"https://api.github.com/repos/AtomLinter/linter-sass-lint","forks_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/forks","keys_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/teams","hooks_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/hooks","issue_events_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/issues/events{/number}","events_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/events","assignees_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/assignees{/user}","branches_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/branches{/branch}","tags_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/tags","blobs_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/git/refs{/sha}","trees_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/statuses/{sha}","languages_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/languages","stargazers_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/stargazers","contributors_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/contributors","subscribers_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/subscribers","subscription_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/subscription","commits_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/commits{/sha}","git_commits_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/git/commits{/sha}","comments_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/comments{/number}","issue_comment_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/issues/comments{/number}","contents_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/contents/{+path}","compare_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/merges","archive_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/downloads","issues_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/issues{/number}","pulls_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/pulls{/number}","milestones_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/milestones{/number}","notifications_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/labels{/name}","releases_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/releases{/id}","deployments_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/deployments","created_at":"2015-12-19T14:52:40Z","updated_at":"2016-01-21T12:26:36Z","pushed_at":"2016-01-23T19:13:22Z","git_url":"git://github.com/AtomLinter/linter-sass-lint.git","ssh_url":"git@github.com:AtomLinter/linter-sass-lint.git","clone_url":"https://github.com/AtomLinter/linter-sass-lint.git","svn_url":"https://github.com/AtomLinter/linter-sass-lint","homepage":"https://atom.io/packages/linter-sass-lint","size":48,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":4,"default_branch":"master"}},"base":{"label":"AtomLinter:master","ref":"master","sha":"8a3095d8a58a26862704e41202c403d9c5d5de5d","user":{"login":"AtomLinter","id":7242824,"avatar_url":"https://avatars.githubusercontent.com/u/7242824?v=3","gravatar_id":"","url":"https://api.github.com/users/AtomLinter","html_url":"https://github.com/AtomLinter","followers_url":"https://api.github.com/users/AtomLinter/followers","following_url":"https://api.github.com/users/AtomLinter/following{/other_user}","gists_url":"https://api.github.com/users/AtomLinter/gists{/gist_id}","starred_url":"https://api.github.com/users/AtomLinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtomLinter/subscriptions","organizations_url":"https://api.github.com/users/AtomLinter/orgs","repos_url":"https://api.github.com/users/AtomLinter/repos","events_url":"https://api.github.com/users/AtomLinter/events{/privacy}","received_events_url":"https://api.github.com/users/AtomLinter/received_events","type":"Organization","site_admin":false},"repo":{"id":48285653,"name":"linter-sass-lint","full_name":"AtomLinter/linter-sass-lint","owner":{"login":"AtomLinter","id":7242824,"avatar_url":"https://avatars.githubusercontent.com/u/7242824?v=3","gravatar_id":"","url":"https://api.github.com/users/AtomLinter","html_url":"https://github.com/AtomLinter","followers_url":"https://api.github.com/users/AtomLinter/followers","following_url":"https://api.github.com/users/AtomLinter/following{/other_user}","gists_url":"https://api.github.com/users/AtomLinter/gists{/gist_id}","starred_url":"https://api.github.com/users/AtomLinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtomLinter/subscriptions","organizations_url":"https://api.github.com/users/AtomLinter/orgs","repos_url":"https://api.github.com/users/AtomLinter/repos","events_url":"https://api.github.com/users/AtomLinter/events{/privacy}","received_events_url":"https://api.github.com/users/AtomLinter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AtomLinter/linter-sass-lint","description":"A plugin for the Atom linter to interface with sass-lint - the all node scss/Sass linter","fork":false,"url":"https://api.github.com/repos/AtomLinter/linter-sass-lint","forks_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/forks","keys_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/teams","hooks_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/hooks","issue_events_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/issues/events{/number}","events_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/events","assignees_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/assignees{/user}","branches_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/branches{/branch}","tags_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/tags","blobs_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/git/refs{/sha}","trees_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/statuses/{sha}","languages_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/languages","stargazers_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/stargazers","contributors_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/contributors","subscribers_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/subscribers","subscription_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/subscription","commits_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/commits{/sha}","git_commits_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/git/commits{/sha}","comments_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/comments{/number}","issue_comment_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/issues/comments{/number}","contents_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/contents/{+path}","compare_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/merges","archive_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/downloads","issues_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/issues{/number}","pulls_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/pulls{/number}","milestones_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/milestones{/number}","notifications_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/labels{/name}","releases_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/releases{/id}","deployments_url":"https://api.github.com/repos/AtomLinter/linter-sass-lint/deployments","created_at":"2015-12-19T14:52:40Z","updated_at":"2016-01-21T12:26:36Z","pushed_at":"2016-01-23T19:13:22Z","git_url":"git://github.com/AtomLinter/linter-sass-lint.git","ssh_url":"git@github.com:AtomLinter/linter-sass-lint.git","clone_url":"https://github.com/AtomLinter/linter-sass-lint.git","svn_url":"https://github.com/AtomLinter/linter-sass-lint","homepage":"https://atom.io/packages/linter-sass-lint","size":48,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AtomLinter/linter-sass-lint/pulls/18"},"html":{"href":"https://github.com/AtomLinter/linter-sass-lint/pull/18"},"issue":{"href":"https://api.github.com/repos/AtomLinter/linter-sass-lint/issues/18"},"comments":{"href":"https://api.github.com/repos/AtomLinter/linter-sass-lint/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/AtomLinter/linter-sass-lint/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/AtomLinter/linter-sass-lint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AtomLinter/linter-sass-lint/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/AtomLinter/linter-sass-lint/statuses/da781653f3dcb6f9d944e8a5f9023e837e2535d9"}}}}