Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/adapters/base-class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,6 @@ export default class BaseClass {
(await ux.inquire({
type: 'checkbox',
name: 'variablePreparationType',
default: this.config.framework,
choices: this.config.variablePreparationTypeOptions,
message: 'Import variables from a stack and/or manually add custom variables to the list',
}));
Expand Down
3 changes: 3 additions & 0 deletions src/base-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ export abstract class BaseCommand<T extends typeof Command> extends Command {
this.args = args as Args<T>;

ux.registerSearchPlugin();
if (process.stdin.isTTY && typeof process.stdin.setMaxListeners === 'function') {
process.stdin.setMaxListeners(20);
}
this.$event = new EventEmitter();

await this.prepareConfig();
Expand Down
Loading