#!/usr/bin/env node
import { require_punycode } from "./punycode.js";
import "source-map-support/register.js";

//#region lib/renovate.ts
var import_punycode = require_punycode();
(async () => {
	const otel = await import("./instrumentation/index.js");
	otel.init();
	(await import("./proxy.js")).bootstrap();
	const { logger } = await import("./logger/index.js");
	const { start } = await import("./workers/global/index.js");
	/* v8 ignore next 3 -- not easily testable */
	process.on("unhandledRejection", (err) => {
		logger.error({ err }, "unhandledRejection");
	});
	process.exitCode = await otel.instrument("run", start);
	await otel.shutdown();
	/* v8 ignore next 3 -- no test required */
	if (process.env.RENOVATE_X_HARD_EXIT) process.exit(process.exitCode);
})();

//#endregion
export {  };
//# sourceMappingURL=renovate.js.map