Created
May 2, 2010 15:47
-
-
Save ats/387222 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GitHub.tmbundle/Support/lib/gist.rb | |
# Modify def auth to use TM_GIT path | |
def auth | |
user = `$TM_GIT config --global github.user`.strip | |
token = `$TM_GIT config --global github.token`.strip | |
print user | |
user.empty? ? {} : { 'login' => user, 'token' => token } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the record, this is a change from the current code which is:
and relates to this issue