Skip to content

Commit

Permalink
remove wreck dependences
Browse files Browse the repository at this point in the history
  • Loading branch information
barryib committed Sep 19, 2016
1 parent 55bbb44 commit 5a6d680
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@
"validate-npm-package-name": "2.2.2",
"webpack": "1.12.15",
"webpack-directory-name-as-main": "1.0.0",
"whatwg-fetch": "0.9.0",
"wreck": "6.2.0"
"whatwg-fetch": "0.9.0"
},
"devDependencies": {
"@elastic/eslint-config-kibana": "0.0.3",
Expand Down
4 changes: 2 additions & 2 deletions tasks/build/download_node_builds.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = function (grunt) {
let { createGunzip } = require('zlib');
let { Extract } = require('tar');
let { rename } = require('fs');
let wreck = require('wreck');
let request = require('request');

let platforms = grunt.config.get('platforms');
let activeDownloads = [];
Expand All @@ -21,7 +21,7 @@ module.exports = function (grunt) {
}

let resp = await fromNode(cb => {
let req = wreck.request('GET', platform.nodeUrl, null, function (err, resp) {
let req = request.get(platform.nodeUrl, function (err, resp) {
if (err) {
return cb(err);
}
Expand Down

0 comments on commit 5a6d680

Please sign in to comment.