summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bluwy <bluwy@users.noreply.github.com> 2023-09-06 09:17:34 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2023-09-06 09:17:34 +0000
commit35dff8246d5f53fa3fd72e401ce80a403d95f9bb (patch)
tree3202627b6d2f72dd632ba23fe88ed1398ec78e55
parentd2f2a11cdb42b0de79be21c798eda8e7e7b2a277 (diff)
downloadastro-35dff8246d5f53fa3fd72e401ce80a403d95f9bb.tar.gz
astro-35dff8246d5f53fa3fd72e401ce80a403d95f9bb.tar.zst
astro-35dff8246d5f53fa3fd72e401ce80a403d95f9bb.zip
[ci] format
-rw-r--r--packages/astro/src/cli/telemetry/index.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/astro/src/cli/telemetry/index.ts b/packages/astro/src/cli/telemetry/index.ts
index a6ebd09c3..dffb18bd9 100644
--- a/packages/astro/src/cli/telemetry/index.ts
+++ b/packages/astro/src/cli/telemetry/index.ts
@@ -1,14 +1,13 @@
/* eslint-disable no-console */
+import whichPm from 'which-pm';
import type yargs from 'yargs-parser';
import * as msg from '../../core/messages.js';
import { telemetry } from '../../events/index.js';
-import whichPm from 'which-pm';
interface TelemetryOptions {
flags: yargs.Arguments;
}
-
export async function notify() {
const packageManager = (await whichPm(process.cwd())).name ?? 'npm';
await telemetry.notify(() => {