mirror of
https://github.com/acamarata/hijri-core.git
synced 2026-07-03 04:00:41 +00:00
chore: fix prettier formatting on telemetry import
This commit is contained in:
parent
2eef9082a2
commit
207c2d96fd
1 changed files with 2 additions and 4 deletions
|
|
@ -108,10 +108,8 @@ export function daysInHijriMonth(hy: number, hm: number, options?: ConversionOpt
|
||||||
// ── 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: "hijri-core", version: "1.0.4" }))
|
||||||
track('load', { package: 'hijri-core', 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