mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
remove debug statements
This commit is contained in:
parent
b168382c40
commit
20bdb65a25
2 changed files with 3 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
module.exports = function (grunt) {
|
||||
// set the config once before calling load-grunt-config
|
||||
// and once durring so that we have access to it via
|
||||
// and once during so that we have access to it via
|
||||
// grunt.config.get() within the config files
|
||||
var config = {
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var _ = require('lodash');
|
||||
var _ = require('lodash');
|
||||
var zlib = require('zlib');
|
||||
var Promise = require('bluebird');
|
||||
var request = require('request');
|
||||
|
@ -55,7 +55,6 @@ module.exports = function (settings, logger) {
|
|||
|
||||
return wrappedRequest(requestOptions)
|
||||
.then(function (req) {
|
||||
//debugger;
|
||||
var reporter = progressReporter(logger, req);
|
||||
|
||||
req
|
||||
|
@ -73,9 +72,7 @@ module.exports = function (settings, logger) {
|
|||
}
|
||||
|
||||
function wrappedRequest(requestOptions) {
|
||||
//debugger;
|
||||
return Promise.try(function () {
|
||||
//debugger;
|
||||
return request.get(requestOptions);
|
||||
})
|
||||
.catch(function (err) {
|
||||
|
@ -91,4 +88,4 @@ module.exports = function (settings, logger) {
|
|||
download: download,
|
||||
_downloadSingle: downloadSingle
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue