Skip to content

Commit 845adab

Browse files
authored
fix: Record the selected project type (#597)
Signed-off-by: Sheng Chen <[email protected]>
1 parent f2a099e commit 845adab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/controllers/projectController.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as _ from "lodash";
66
import * as path from "path";
77
import * as semver from "semver";
88
import { commands, Disposable, Extension, ExtensionContext, extensions, QuickPickItem, Uri, window, workspace } from "vscode";
9-
import { instrumentOperationAsVsCodeCommand } from "vscode-extension-telemetry-wrapper";
9+
import { instrumentOperationAsVsCodeCommand, sendInfo } from "vscode-extension-telemetry-wrapper";
1010
import { Commands } from "../commands";
1111
import { Utility } from "../utility";
1212

@@ -56,7 +56,7 @@ export class ProjectController implements Disposable {
5656
if (!choice || !await ensureExtension(choice.label, choice.metadata)) {
5757
return;
5858
}
59-
59+
sendInfo("", {projectCreationType: choice.metadata.type});
6060
if (choice.metadata.type === ProjectType.NoBuildTool) {
6161
await scaffoldSimpleProject(this.context);
6262
} else if (choice.metadata.createCommandId && choice.metadata.createCommandArgs) {

0 commit comments

Comments
 (0)