Commit b4df8c7b authored by Ty Abonil's avatar Ty Abonil
Browse files

fixed module.exports

parent c35c68a5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -13,3 +13,5 @@ results

npm-debug.log
node_modules

test.js
 No newline at end of file
+3 −1
Original line number Diff line number Diff line
@@ -37,4 +37,6 @@ function rp(options) {
    });
}

module.exports = rp;
module.exports = function (a) {
    if (a) return rp(a);
};
+2 −2
Original line number Diff line number Diff line
{
  "name": "request-promise",
  "version": "0.0.1",
  "version": "0.0.2",
  "description": "Promise-based Wrapper for XHR using Request and Bluebird",
  "main": "lib/tp.js",
  "main": "./lib/rp.js",
  "scripts": {
    "test": "To Do"
  },