@@ -23,7 +23,7 @@ if (!fs.existsSync(CACHE_DIR)) {
fs.mkdirSync(CACHE_DIR, { recursive: true });
}
-const agent = new Agent({ allowH2: false });
+const agent = new Agent({ allowH2: true });
setGlobalDispatcher(agent.compose(
interceptors.dns({
@@ -122,6 +122,7 @@ export function task(importMetaMain: boolean, importMetaPath: string) {
dummySpan.stop();
printTraceResult(dummySpan.traceResult);
process.nextTick(whyIsNodeRunning);
+ process.nextTick(() => process.exit(0));
});