Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Fix update-atom-shell task when using the keychain
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Colyer committed Nov 19, 2013
1 parent 82e3935 commit b449bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/update-atom-shell-task.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = (grunt) ->
return

spawn {cmd: 'security', args: ['-q', 'find-generic-password', '-ws', 'GitHub API Token']}, (error, result, code) ->
accessToken = result unless error?
accessToken = result.stdout unless error?
callback(error, accessToken)

callAtomShellReposApi = (path, callback) ->
Expand Down

1 comment on commit b449bb4

@kevinsawicki
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice find

Please sign in to comment.