We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c4ab9e commit 2920120Copy full SHA for 2920120
packages/cli/bin/heroku-repl.js
@@ -48,7 +48,7 @@ const completionCommandByName = new Map([
48
*/
49
const completionResultsByName = new Map()
50
51
-export class HerokuRepl {
+class HerokuRepl {
52
/**
53
* The OClif config object containing
54
* the command metadata and the means
packages/cli/bin/run
@@ -52,7 +52,7 @@ const main = async () => {
try {
await config.load()
const {_: [commandName, ...args], ...flags} = yargs
55
- if (!commandName && args.length === 0 && Object.keys(flags).length === 0) {
+ if (flags.repl && args.length === 0 && Object.keys(flags).length === 1) {
56
return herokuRepl(config)
57
}
58
0 commit comments