Suppression console.log() superflus
This commit is contained in:
parent
d514515d7f
commit
6fa75ef473
@ -1,3 +1,4 @@
|
||||
/* jshint node:true */
|
||||
var fs = require('fs');
|
||||
var cp = require('child_process');
|
||||
var glob = require('glob');
|
||||
@ -30,7 +31,6 @@ exports.fetchRemoteJSON = function(fileUrl) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
request(fileUrl, { followRedirect: true, json: true }, function (err, res, body) {
|
||||
if(err) return reject(err);
|
||||
console.log(body);
|
||||
return resolve(body);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user