sanity-codegen icon indicating copy to clipboard operation
sanity-codegen copied to clipboard

fix: process sometimes not exiting on node 15+

Open alexbchr opened this issue 3 years ago • 4 comments

Fixes #243 by calling process.exit(0) to ensure the process correctly exits after a the successful execution of the cli function.

As mentioned by @ricokahler, Next.js does the same in their codebase.

alexbchr avatar Jan 17 '22 12:01 alexbchr

Can you merge this please?

marconucara avatar Jul 28 '22 09:07 marconucara

+1 Can we please get this merged

lbittner-pdftron avatar Aug 12 '22 15:08 lbittner-pdftron

Same issue, +1 for merging

smoglica avatar Aug 30 '22 08:08 smoglica

Let us start 2023 strong by getting this merged

@ricokahler

felixgren avatar Jan 05 '23 16:01 felixgren