Skip to content

Commit 5009602

Browse files
anddamMikhail Arkhipov
authored andcommitted
Fix typo in telemetry autopep8 setting (#783)
1 parent 7d0613e commit 5009602

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/client/formatters/autoPep8Formatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class AutoPep8Formatter extends BaseFormatter {
2424
autoPep8Args.push(...['--line-range', (range!.start.line + 1).toString(), (range!.end.line + 1).toString()]);
2525
}
2626
const promise = super.provideDocumentFormattingEdits(document, options, token, autoPep8Args);
27-
sendTelemetryWhenDone(FORMAT, promise, stopWatch, { tool: 'autoppep8', hasCustomArgs, formatSelection });
27+
sendTelemetryWhenDone(FORMAT, promise, stopWatch, { tool: 'autopep8', hasCustomArgs, formatSelection });
2828
return promise;
2929
}
3030
}

src/client/telemetry/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export type EditorLoadTelemetry = {
77
condaVersion: string;
88
};
99
export type FormatTelemetry = {
10-
tool: 'autoppep8' | 'yapf';
10+
tool: 'autopep8' | 'yapf';
1111
hasCustomArgs: boolean;
1212
formatSelection: boolean;
1313
};

0 commit comments

Comments
 (0)