pnp / cli-microsoft365

Manage Microsoft 365 and SharePoint Framework projects on any platform
https://aka.ms/cli-m365
MIT License
882 stars 312 forks source link

Bug report: stoping chili breaks the functionality #6097

Open Adam-it opened 2 weeks ago

Adam-it commented 2 weeks ago

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

waldekmastykarz commented 1 week ago

Yeah, this is ugly. Let's fix it