Skip to content

Commit

Permalink
style: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Jul 31, 2016
1 parent ba36b82 commit 03f9ea6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/get.js
Expand Up @@ -64,12 +64,13 @@ module.exports = function get(url, options) {

debug('request %s', url, settings);

cache[url] = new Promise(function (resolve, reject) {
cache[url] = new Promise(function (resolve) {
request(encodeURI(url), settings, function response(error, res, body) {
if (error) {
debug('request failed: %s', error.message);
inliner.emit('warning', 'failed to request ' + base + ' (' + error.message + ')');
// return reject(error);
inliner.emit('warning', 'failed to request ' + base + ' (' +
error.message + ')');

body = '';
res = {
headers: {},
Expand Down

0 comments on commit 03f9ea6

Please sign in to comment.