Skip to content

Commit c6abb9d

Browse files
author
Ammar Dodin
committed
😒 export formatErroIfExists()
1 parent a1358a7 commit c6abb9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/requestwrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function parsePath(path: string, params: Object): string {
4949
* @private
5050
* @returns {request.RequestCallback}
5151
*/
52-
function formatErrorIfExists(cb: Function): request.RequestCallback {
52+
export function formatErrorIfExists(cb: Function): request.RequestCallback {
5353
return function(error, response, body) {
5454
// eslint-disable-line complexity
5555

0 commit comments

Comments
 (0)