mirror of
https://github.com/acamarata/dayjs-hijri-plus.git
synced 2026-07-02 19:50:39 +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 ────────────────────────────────────────────────
|
// ── Opt-in anonymous telemetry ────────────────────────────────────────────────
|
||||||
// Off by default. Enable: ACAMARATA_TELEMETRY=1
|
// Off by default. Enable: ACAMARATA_TELEMETRY=1
|
||||||
// What is sent + how to disable: https://github.com/acamarata/telemetry/blob/main/TELEMETRY.md
|
// What is sent + how to disable: https://github.com/acamarata/telemetry/blob/main/TELEMETRY.md
|
||||||
import('@acamarata/telemetry')
|
import("@acamarata/telemetry")
|
||||||
.then(({ track }) =>
|
.then(({ track }) => track("load", { package: "dayjs-hijri-plus", version: "1.0.4" }))
|
||||||
track('load', { package: 'dayjs-hijri-plus', version: '1.0.4' }),
|
|
||||||
)
|
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
// telemetry not installed or disabled — that's fine
|
// telemetry not installed or disabled — that's fine
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue