mirror of
https://github.com/acamarata/dayjs-hijri-plus.git
synced 2026-07-01 11:14:26 +00:00
chore: fix prettier formatting on telemetry import
This commit is contained in:
parent
8c8d3b0345
commit
d9d5154f7e
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue