Skip to content

Commit

Permalink
Remove console.log from GitHub module
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwartz committed Jun 3, 2013
1 parent 1733065 commit 8a4c8b6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions modules/GitHub.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ GitHub.prototype.extend({

/* private */
_get: function(url) {
console.dir(url);
var response = cURL({
url: url
});
Expand Down Expand Up @@ -1006,7 +1005,7 @@ GitHub.prototype.extend({
if (contentType) {
params.content_type = contentType;
}
console.log('Creating GitHub resource...')
//console.log('Creating GitHub resource...')
var response = cURL({
method: 'POST',
url: url,
Expand All @@ -1017,7 +1016,7 @@ GitHub.prototype.extend({
throw o;
}
// upload to S3
console.log('Uploading to S3...');
//console.log('Uploading to S3...');
var config = {
method: 'POST',
url: o.s3_url,
Expand Down Expand Up @@ -1370,7 +1369,6 @@ GitHub.prototype.extend({
getTree: function(repo, sha, recursive) {
recursive = recursive ? '?recursive=1' : '';
var url = this.url + '/repos/' + this._repoName(repo) + '/git/trees/' + sha + recursive;
console.log(url);
return this._get(url);
}
});
Expand Down

0 comments on commit 8a4c8b6

Please sign in to comment.