Skip to content

Commit

Permalink
Removed debugging stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas committed Apr 29, 2014
1 parent 021ca75 commit df32191
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/conf/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ package.download_release = function(version, cb) {
host_path = releases_url + version + '/';

package.download(host_path + release, function(err, file) {
if (err) return cb(err);

verify_checksum(host_path + checksums, release, file, function(err, valid) {
if (err || !valid)
Expand All @@ -132,8 +133,6 @@ package.download = function(url, cb) {
log('Downloading package: ' + url);
var file = system.tempfile_path(path.basename(url));

return cb(null, file);

needle.get(url, { output: file }, function(err, resp, data) {

if (err || resp.statusCode != 200)
Expand Down

0 comments on commit df32191

Please sign in to comment.