File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/mongodb-memory-server-core/src/util Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -499,9 +499,10 @@ export class MongoInstance extends EventEmitter implements ManagerBase {
499499 /**
500500 * Write the CLOSE event to the debug function
501501 * @param code The Exit code to handle
502+ * @param signal The Signal to handle
502503 * @fires MongoInstance#instanceClosed
503504 */
504- closeHandler ( code : number , signal : string ) : void {
505+ closeHandler ( code : number | null , signal : string | null ) : void {
505506 // check if the platform is windows, if yes check if the code is not "12" or "0" otherwise just check code is not "0"
506507 // because for mongodb any event on windows (like SIGINT / SIGTERM) will result in an code 12
507508 // https://docs.mongodb.com/manual/reference/exit-codes/#12
You can’t perform that action at this time.
0 commit comments