Commit cd52b927 authored by analog-nico's avatar analog-nico
Browse files

Wording

parent 1a29d9ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -130,7 +130,7 @@ function expose(methodToExpose, exposeAs) {


    /* istanbul ignore if */
    /* istanbul ignore if */
    if (!isUndefined(request.Request.prototype[exposeAs])) {
    if (!isUndefined(request.Request.prototype[exposeAs])) {
        throw new Error('[Request-Promise] Unable to expose method "' + exposeAs + '". It is already implemented by Request. Please visit https://github.com/request/request-promise/wiki/Troubleshooting');
        throw new Error('Unable to expose method "' + exposeAs + '". It is already implemented by Request. Please visit https://github.com/request/request-promise/wiki/Troubleshooting');
    }
    }


    request.Request.prototype[exposeAs] = function RP$exposed() {
    request.Request.prototype[exposeAs] = function RP$exposed() {