remotion icon indicating copy to clipboard operation
remotion copied to clipboard

lambda functions rmall exits on first 'no' from the user

Open UmungoBungo opened this issue 1 year ago • 1 comments

Bug Report 🐛

For the cloudrun package, the services rmall CLI command allows the user to selectively delete the services found image

For the lambda package, the functions rmall CLI command will quit as soon as a no is received image

This is because it makes use of the confirm helper at src/cli/helpers/confirm.ts, which has the behaviour baked in. Perhaps we can instead use the yesOrNo function from within confirm.ts instead.

Alternatively, this is the behaviour you want, and I can change cloud run to be consistent!

UmungoBungo avatar Jul 03 '23 02:07 UmungoBungo

What you do in Cloud Run seems more sensible to not quit outright. I'm in favor of porting this over to Lambda rmall.

JonnyBurger avatar Jul 04 '23 08:07 JonnyBurger