Suppression console.log() superflus

Этот коммит содержится в:
wpetit 2016-03-03 11:02:57 +01:00
родитель d514515d7f
Коммит 6fa75ef473
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);
});
});