Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
chunyu3 committed Dec 17, 2024
1 parent b592c14 commit c883353
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/typespec-vscode/src/emit/emit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export async function doEmit(
const npmUtil = new NpmUtil(baseDir);
const packagesToInstall: string[] = [];
const packagesToVerify: { package: string; version?: string }[] = [];
// packagesToVerify.push({ package: "@typespec/compiler" });

/* install emitter package. */
logger.info(`select ${selectedEmitter.package}`);
packagesToVerify.push({ package: selectedEmitter.package, version: selectedEmitter.version });
Expand Down
1 change: 0 additions & 1 deletion packages/typespec-vscode/src/typespec-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export async function resolveTypeSpecCli(absolutePath: string): Promise<Executab
}
const modelInfo = await loadModule(absolutePath, "@typespec/compiler");
if (modelInfo) {
//const cli = modelInfo.executables.find((exe) => exe.name === "tsp");
const cmdPath = path.resolve(modelInfo.path, "cmd/tsp.js");
return {
command: "node",
Expand Down

0 comments on commit c883353

Please sign in to comment.