pnp/cli-microsoft365

Bug report: stoping chili breaks the functionality

Opened this issue · 1 comments

Priority

(Low) Something is a little off

Description

when trying to hit CTRL+C to break it resolves as error
image

when not giving any prompt and just hitting enter it resolves as error
image

Steps to reproduce

  1. Run m365? and don't provide any prompt and just hit enter
  2. Run m365? and don't provide any prompt and hit CTRL+C to stop

Expected results

should gracefully close or stop

Actual results

presents error message like in screenshot

Diagnostics

No response

CLI for Microsoft 365 version

v7.9

nodejs version

v20.1.0

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

No response

Additional Info

No response

Yeah, this is ugly. Let's fix it