Suppression console.log() superflus

This commit is contained in:
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);
});
});