Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Examples:
$ expect-cli --target branch test all branch changes
$ expect-cli --target unstaged test unstaged changes

Set `NO_TELEMTRY=1` to disable analytics events.
Set `NO_TELEMETRY=1` to disable analytics events.
```

## How it works
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/analytics/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class AnalyticsProvider extends ServiceMap.Service<
export class Analytics extends ServiceMap.Service<Analytics>()("@expect/Analytics", {
make: Effect.gen(function* () {
const provider = yield* AnalyticsProvider;
const noTelemetryValue = yield* Config.option(Config.string("NO_TELEMTRY"));
const noTelemetryValue = yield* Config.option(Config.string("NO_TELEMETRY"));
const telemetryDisabled = Option.match(noTelemetryValue, {
onNone: () => false,
onSome: (value) => value === "1",
Expand Down