chore: fix prettier formatting on telemetry import

This commit is contained in:
Aric Camarata 2026-06-30 15:52:55 -04:00
parent 8c8d3b0345
commit d9d5154f7e

View file

@ -307,10 +307,8 @@ export { registerCalendar, getCalendar, listCalendars } from "hijri-core";
// ── Opt-in anonymous telemetry ────────────────────────────────────────────────
// Off by default. Enable: ACAMARATA_TELEMETRY=1
// What is sent + how to disable: https://github.com/acamarata/telemetry/blob/main/TELEMETRY.md
import('@acamarata/telemetry')
.then(({ track }) =>
track('load', { package: 'dayjs-hijri-plus', version: '1.0.4' }),
)
import("@acamarata/telemetry")
.then(({ track }) => track("load", { package: "dayjs-hijri-plus", version: "1.0.4" }))
.catch(() => {
// telemetry not installed or disabled — that's fine
});