Skip to content

Commit

Permalink
fixed export to python telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
techwithtim committed Jun 18, 2020
1 parent 9ec8993 commit caa1858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/datascience/export/exportToPython.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { ExportBase } from './exportBase';

@injectable()
export class ExportToPython extends ExportBase {
public sendTelemetryEvent(Telemetry.ExportNotebookAsPython);
public async export(source: Uri, target: Uri): Promise<void> {
sendTelemetryEvent(Telemetry.ExportNotebookAsPython);
const contents = await this.importer.importFromFile(source.fsPath);
await this.fileSystem.writeFile(target.fsPath, contents);
}
Expand Down

0 comments on commit caa1858

Please sign in to comment.