src: refactor CertCbDone to avoid goto statement
Based on my understanding of FunctionTemplate::HasInstance
, cons->HasInstance(ctx)
should return false
if ctx
is not an object, and this should be functionally equivalent to the previous code.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines