{"action":"created","comment":{"url":"https://api.github.com/repos/gillstrom/nircmd/pulls/comments/41251145","id":41251145,"diff_hunk":"@@ -1,29 +1,19 @@\n-'use strict';\n-var test = require('ava');\n-var nircmd = require('./');\n+import test from 'ava';\n+import fn from './';\n \n-test('clipboard', function (t) {\n-\tt.plan(1);\n-\n-\tnircmd('clipboard set \"hey everybody\"', function (err) {\n-\t\tt.assert(!err, err);\n-\t});\n+test('clipboard', async t => {\n+\tawait nircmd('clipboard set \"hey everybody\"');\n });\n \n-test('screensaver', function (t) {\n-\tt.plan(1);\n-\n-\tnircmd('screensaver', function (err) {\n-\t\tt.assert(!err, err);\n-\t});\n+test('screensaver', async t => {\n+\tawait nircmd('screensaver');","path":"test.js","position":24,"original_position":24,"commit_id":"2c8cd0cf99e2bbd1f0f82bca07066b72a1121b23","original_commit_id":"2c8cd0cf99e2bbd1f0f82bca07066b72a1121b23","user":{"login":"gillstrom","id":972551,"avatar_url":"https://avatars.githubusercontent.com/u/972551?v=3","gravatar_id":"","url":"https://api.github.com/users/gillstrom","html_url":"https://github.com/gillstrom","followers_url":"https://api.github.com/users/gillstrom/followers","following_url":"https://api.github.com/users/gillstrom/following{/other_user}","gists_url":"https://api.github.com/users/gillstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/gillstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gillstrom/subscriptions","organizations_url":"https://api.github.com/users/gillstrom/orgs","repos_url":"https://api.github.com/users/gillstrom/repos","events_url":"https://api.github.com/users/gillstrom/events{/privacy}","received_events_url":"https://api.github.com/users/gillstrom/received_events","type":"User","site_admin":false},"body":"Change nircmd to fn.","created_at":"2015-10-06T11:08:43Z","updated_at":"2015-10-06T11:08:43Z","html_url":"https://github.com/gillstrom/nircmd/pull/3#discussion_r41251145","pull_request_url":"https://api.github.com/repos/gillstrom/nircmd/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/gillstrom/nircmd/pulls/comments/41251145"},"html":{"href":"https://github.com/gillstrom/nircmd/pull/3#discussion_r41251145"},"pull_request":{"href":"https://api.github.com/repos/gillstrom/nircmd/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/gillstrom/nircmd/pulls/3","id":46886970,"html_url":"https://github.com/gillstrom/nircmd/pull/3","diff_url":"https://github.com/gillstrom/nircmd/pull/3.diff","patch_url":"https://github.com/gillstrom/nircmd/pull/3.patch","issue_url":"https://api.github.com/repos/gillstrom/nircmd/issues/3","number":3,"state":"open","locked":false,"title":"Promisify","user":{"login":"SamVerschueren","id":1913805,"avatar_url":"https://avatars.githubusercontent.com/u/1913805?v=3","gravatar_id":"","url":"https://api.github.com/users/SamVerschueren","html_url":"https://github.com/SamVerschueren","followers_url":"https://api.github.com/users/SamVerschueren/followers","following_url":"https://api.github.com/users/SamVerschueren/following{/other_user}","gists_url":"https://api.github.com/users/SamVerschueren/gists{/gist_id}","starred_url":"https://api.github.com/users/SamVerschueren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamVerschueren/subscriptions","organizations_url":"https://api.github.com/users/SamVerschueren/orgs","repos_url":"https://api.github.com/users/SamVerschueren/repos","events_url":"https://api.github.com/users/SamVerschueren/events{/privacy}","received_events_url":"https://api.github.com/users/SamVerschueren/received_events","type":"User","site_admin":false},"body":"Hi, I promisified the library so it's not using the callback style anymore. \r\n\r\nPromises all the way ;)!\r\n\r\nOn a sidenote, I didn't run the tests as I don't work with Windows. Can someone run the tests and let me know :)?\r\n\r\n// @kevva @sindresorhus","created_at":"2015-10-06T10:43:54Z","updated_at":"2015-10-06T11:08:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c1468f46f3645ee739072a4225731f7a733c189","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gillstrom/nircmd/pulls/3/commits","review_comments_url":"https://api.github.com/repos/gillstrom/nircmd/pulls/3/comments","review_comment_url":"https://api.github.com/repos/gillstrom/nircmd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gillstrom/nircmd/issues/3/comments","statuses_url":"https://api.github.com/repos/gillstrom/nircmd/statuses/2c8cd0cf99e2bbd1f0f82bca07066b72a1121b23","head":{"label":"SamVerschueren:pify","ref":"pify","sha":"2c8cd0cf99e2bbd1f0f82bca07066b72a1121b23","user":{"login":"SamVerschueren","id":1913805,"avatar_url":"https://avatars.githubusercontent.com/u/1913805?v=3","gravatar_id":"","url":"https://api.github.com/users/SamVerschueren","html_url":"https://github.com/SamVerschueren","followers_url":"https://api.github.com/users/SamVerschueren/followers","following_url":"https://api.github.com/users/SamVerschueren/following{/other_user}","gists_url":"https://api.github.com/users/SamVerschueren/gists{/gist_id}","starred_url":"https://api.github.com/users/SamVerschueren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamVerschueren/subscriptions","organizations_url":"https://api.github.com/users/SamVerschueren/orgs","repos_url":"https://api.github.com/users/SamVerschueren/repos","events_url":"https://api.github.com/users/SamVerschueren/events{/privacy}","received_events_url":"https://api.github.com/users/SamVerschueren/received_events","type":"User","site_admin":false},"repo":{"id":43743782,"name":"nircmd","full_name":"SamVerschueren/nircmd","owner":{"login":"SamVerschueren","id":1913805,"avatar_url":"https://avatars.githubusercontent.com/u/1913805?v=3","gravatar_id":"","url":"https://api.github.com/users/SamVerschueren","html_url":"https://github.com/SamVerschueren","followers_url":"https://api.github.com/users/SamVerschueren/followers","following_url":"https://api.github.com/users/SamVerschueren/following{/other_user}","gists_url":"https://api.github.com/users/SamVerschueren/gists{/gist_id}","starred_url":"https://api.github.com/users/SamVerschueren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamVerschueren/subscriptions","organizations_url":"https://api.github.com/users/SamVerschueren/orgs","repos_url":"https://api.github.com/users/SamVerschueren/repos","events_url":"https://api.github.com/users/SamVerschueren/events{/privacy}","received_events_url":"https://api.github.com/users/SamVerschueren/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SamVerschueren/nircmd","description":"Perform tasks using the nircmd.exe utility.","fork":true,"url":"https://api.github.com/repos/SamVerschueren/nircmd","forks_url":"https://api.github.com/repos/SamVerschueren/nircmd/forks","keys_url":"https://api.github.com/repos/SamVerschueren/nircmd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SamVerschueren/nircmd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SamVerschueren/nircmd/teams","hooks_url":"https://api.github.com/repos/SamVerschueren/nircmd/hooks","issue_events_url":"https://api.github.com/repos/SamVerschueren/nircmd/issues/events{/number}","events_url":"https://api.github.com/repos/SamVerschueren/nircmd/events","assignees_url":"https://api.github.com/repos/SamVerschueren/nircmd/assignees{/user}","branches_url":"https://api.github.com/repos/SamVerschueren/nircmd/branches{/branch}","tags_url":"https://api.github.com/repos/SamVerschueren/nircmd/tags","blobs_url":"https://api.github.com/repos/SamVerschueren/nircmd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SamVerschueren/nircmd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SamVerschueren/nircmd/git/refs{/sha}","trees_url":"https://api.github.com/repos/SamVerschueren/nircmd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SamVerschueren/nircmd/statuses/{sha}","languages_url":"https://api.github.com/repos/SamVerschueren/nircmd/languages","stargazers_url":"https://api.github.com/repos/SamVerschueren/nircmd/stargazers","contributors_url":"https://api.github.com/repos/SamVerschueren/nircmd/contributors","subscribers_url":"https://api.github.com/repos/SamVerschueren/nircmd/subscribers","subscription_url":"https://api.github.com/repos/SamVerschueren/nircmd/subscription","commits_url":"https://api.github.com/repos/SamVerschueren/nircmd/commits{/sha}","git_commits_url":"https://api.github.com/repos/SamVerschueren/nircmd/git/commits{/sha}","comments_url":"https://api.github.com/repos/SamVerschueren/nircmd/comments{/number}","issue_comment_url":"https://api.github.com/repos/SamVerschueren/nircmd/issues/comments{/number}","contents_url":"https://api.github.com/repos/SamVerschueren/nircmd/contents/{+path}","compare_url":"https://api.github.com/repos/SamVerschueren/nircmd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SamVerschueren/nircmd/merges","archive_url":"https://api.github.com/repos/SamVerschueren/nircmd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SamVerschueren/nircmd/downloads","issues_url":"https://api.github.com/repos/SamVerschueren/nircmd/issues{/number}","pulls_url":"https://api.github.com/repos/SamVerschueren/nircmd/pulls{/number}","milestones_url":"https://api.github.com/repos/SamVerschueren/nircmd/milestones{/number}","notifications_url":"https://api.github.com/repos/SamVerschueren/nircmd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SamVerschueren/nircmd/labels{/name}","releases_url":"https://api.github.com/repos/SamVerschueren/nircmd/releases{/id}","created_at":"2015-10-06T10:23:59Z","updated_at":"2015-10-06T10:24:00Z","pushed_at":"2015-10-06T11:07:26Z","git_url":"git://github.com/SamVerschueren/nircmd.git","ssh_url":"git@github.com:SamVerschueren/nircmd.git","clone_url":"https://github.com/SamVerschueren/nircmd.git","svn_url":"https://github.com/SamVerschueren/nircmd","homepage":null,"size":180,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gillstrom:master","ref":"master","sha":"f882400bcd7876739c37e8f0364da51200d5e948","user":{"login":"gillstrom","id":972551,"avatar_url":"https://avatars.githubusercontent.com/u/972551?v=3","gravatar_id":"","url":"https://api.github.com/users/gillstrom","html_url":"https://github.com/gillstrom","followers_url":"https://api.github.com/users/gillstrom/followers","following_url":"https://api.github.com/users/gillstrom/following{/other_user}","gists_url":"https://api.github.com/users/gillstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/gillstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gillstrom/subscriptions","organizations_url":"https://api.github.com/users/gillstrom/orgs","repos_url":"https://api.github.com/users/gillstrom/repos","events_url":"https://api.github.com/users/gillstrom/events{/privacy}","received_events_url":"https://api.github.com/users/gillstrom/received_events","type":"User","site_admin":false},"repo":{"id":38760333,"name":"nircmd","full_name":"gillstrom/nircmd","owner":{"login":"gillstrom","id":972551,"avatar_url":"https://avatars.githubusercontent.com/u/972551?v=3","gravatar_id":"","url":"https://api.github.com/users/gillstrom","html_url":"https://github.com/gillstrom","followers_url":"https://api.github.com/users/gillstrom/followers","following_url":"https://api.github.com/users/gillstrom/following{/other_user}","gists_url":"https://api.github.com/users/gillstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/gillstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gillstrom/subscriptions","organizations_url":"https://api.github.com/users/gillstrom/orgs","repos_url":"https://api.github.com/users/gillstrom/repos","events_url":"https://api.github.com/users/gillstrom/events{/privacy}","received_events_url":"https://api.github.com/users/gillstrom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gillstrom/nircmd","description":"Perform tasks using the nircmd.exe utility.","fork":false,"url":"https://api.github.com/repos/gillstrom/nircmd","forks_url":"https://api.github.com/repos/gillstrom/nircmd/forks","keys_url":"https://api.github.com/repos/gillstrom/nircmd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gillstrom/nircmd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gillstrom/nircmd/teams","hooks_url":"https://api.github.com/repos/gillstrom/nircmd/hooks","issue_events_url":"https://api.github.com/repos/gillstrom/nircmd/issues/events{/number}","events_url":"https://api.github.com/repos/gillstrom/nircmd/events","assignees_url":"https://api.github.com/repos/gillstrom/nircmd/assignees{/user}","branches_url":"https://api.github.com/repos/gillstrom/nircmd/branches{/branch}","tags_url":"https://api.github.com/repos/gillstrom/nircmd/tags","blobs_url":"https://api.github.com/repos/gillstrom/nircmd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gillstrom/nircmd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gillstrom/nircmd/git/refs{/sha}","trees_url":"https://api.github.com/repos/gillstrom/nircmd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gillstrom/nircmd/statuses/{sha}","languages_url":"https://api.github.com/repos/gillstrom/nircmd/languages","stargazers_url":"https://api.github.com/repos/gillstrom/nircmd/stargazers","contributors_url":"https://api.github.com/repos/gillstrom/nircmd/contributors","subscribers_url":"https://api.github.com/repos/gillstrom/nircmd/subscribers","subscription_url":"https://api.github.com/repos/gillstrom/nircmd/subscription","commits_url":"https://api.github.com/repos/gillstrom/nircmd/commits{/sha}","git_commits_url":"https://api.github.com/repos/gillstrom/nircmd/git/commits{/sha}","comments_url":"https://api.github.com/repos/gillstrom/nircmd/comments{/number}","issue_comment_url":"https://api.github.com/repos/gillstrom/nircmd/issues/comments{/number}","contents_url":"https://api.github.com/repos/gillstrom/nircmd/contents/{+path}","compare_url":"https://api.github.com/repos/gillstrom/nircmd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gillstrom/nircmd/merges","archive_url":"https://api.github.com/repos/gillstrom/nircmd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gillstrom/nircmd/downloads","issues_url":"https://api.github.com/repos/gillstrom/nircmd/issues{/number}","pulls_url":"https://api.github.com/repos/gillstrom/nircmd/pulls{/number}","milestones_url":"https://api.github.com/repos/gillstrom/nircmd/milestones{/number}","notifications_url":"https://api.github.com/repos/gillstrom/nircmd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gillstrom/nircmd/labels{/name}","releases_url":"https://api.github.com/repos/gillstrom/nircmd/releases{/id}","created_at":"2015-07-08T14:46:15Z","updated_at":"2015-09-16T23:10:54Z","pushed_at":"2015-10-06T11:07:27Z","git_url":"git://github.com/gillstrom/nircmd.git","ssh_url":"git@github.com:gillstrom/nircmd.git","clone_url":"https://github.com/gillstrom/nircmd.git","svn_url":"https://github.com/gillstrom/nircmd","homepage":null,"size":180,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gillstrom/nircmd/pulls/3"},"html":{"href":"https://github.com/gillstrom/nircmd/pull/3"},"issue":{"href":"https://api.github.com/repos/gillstrom/nircmd/issues/3"},"comments":{"href":"https://api.github.com/repos/gillstrom/nircmd/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/gillstrom/nircmd/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/gillstrom/nircmd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gillstrom/nircmd/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/gillstrom/nircmd/statuses/2c8cd0cf99e2bbd1f0f82bca07066b72a1121b23"}}}}