Skip to content

Commit

Permalink
http-client-java, report TCGC diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft committed Sep 10, 2024
1 parent 99abec9 commit b1ab16a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/http-client-java/emitter/src/code-model-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ export class CodeModelBuilder {
versioning: { previewStringRegex: /$/ },
}); // include all versions and do the filter by ourselves

this.program.reportDiagnostics(this.sdkContext.diagnostics);

// auth
// TODO: it is not very likely, but different client could have different auth
const auth = getAuthentication(this.program, this.serviceNamespace);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"type": "module",
"scripts": {
"clean": "rimraf ./node_modules/@typespec/http-client-java ./package-lock.json",
"clean": "rimraf ./node_modules/@typespec/http-client-java ./package-lock.json ./tsp-output",
"format": "npm run -s prettier -- --write",
"check-format": "npm run prettier -- --check",
"prettier": "prettier --config ./.prettierrc.yaml **/*.tsp",
Expand Down

0 comments on commit b1ab16a

Please sign in to comment.