Skip to content

Commit 70e7e70

Browse files
committed
enable gzip in request
1 parent 9fc1c50 commit 70e7e70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function cmd_get (args, done) {
4444
}
4545
else {
4646
// get giturl from npm
47-
Request.get(url, function (err, res, body) {
47+
Request.get({url: url, gzip: true}, function (err, res, body) {
4848
if (err) {
4949
return done(err)
5050
}

0 commit comments

Comments
 (0)