We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1771237 commit 4190dfeCopy full SHA for 4190dfe
2 files changed
bin/lernaupdate
@@ -1,3 +1,3 @@
1
#!/usr/bin/env node
2
3
-require("../src/index.js").run(process.argv.slice(2));
+require("../src/index.js")(process.argv.slice(2));
src/index.js
@@ -15,7 +15,7 @@ inquirer.registerPrompt(
15
require("inquirer-autocomplete-prompt")
16
);
17
18
-const run = async args => {
+module.exports = async args => {
19
"use strict";
20
21
const argv = require("minimist")(args);
@@ -178,5 +178,3 @@ const run = async args => {
178
});
179
}
180
};
181
-
182
-module.exports = { run };
0 commit comments