hubkit
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -318,3 +318,4 @@ if (typeof require !== 'undefined') { | ||
} | ||
statusError.path = path; | ||
statusError.path = path; // This is actually the fully expanded URL at this point. | ||
statusError.pathPattern = options.pathPattern; | ||
statusError.response = res; | ||
@@ -507,4 +508,5 @@ if (options.logTag) statusError.logTag = options.logTag; | ||
o1.onError = function(error) { | ||
var value1 = onError1(error), value2 = onError2(error); | ||
return value1 === undefined ? value2 : value1; | ||
var value1 = onError1(error); | ||
if (value1 !== undefined) return value1; | ||
return onError2(error); | ||
}; | ||
@@ -511,0 +513,0 @@ } |
{ | ||
"name": "hubkit", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "GitHub API library for JavaScript, promise-based, for both NodeJS and the browser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
44791
833