We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
module.exports
1 parent 4bb864e commit 3eec767Copy full SHA for 3eec767
1 file changed
index.js
@@ -5,10 +5,7 @@ var util = require('./lib/util');
5
var repl = null;
6
var instances = [];
7
8
-// add the instance to the repl and start it
9
-exports = module.exports = function (_gulp_) {
10
- return exports.start(_gulp_);
11
-};
+exports = module.exports = {};
12
13
// get the instance properties used by the REPL
14
exports.get = function (gulp) {
@@ -60,7 +57,7 @@ exports.remove = function (_gulp_) {
60
57
61
58
// create a readline instance if there is none
62
59
exports.start = function (_gulp_) {
63
- exports.add(_gulp_);
+ this.add(_gulp_);
64
65
// only create one repl listening on stdin
66
if (repl) { return repl; }
0 commit comments