Skip to content

Commit 039e6b1

Browse files
committed
add todos
1 parent 829e216 commit 039e6b1

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/codewhisperer/util/authUtil.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export class AuthUtil {
8585
return this.secondaryAuth.activeConnection
8686
}
8787

88+
// TODO: move this to the shared auth.ts
8889
public get startUrl(): string | undefined {
8990
// Reformat the url to remove any trailing '/' and `#`
9091
// e.g. https://view.awsapps.com/start/# will become https://view.awsapps.com/start

src/codewhisperer/util/codeWhispererSession.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,5 @@ class CodeWhispererSession {
6565
}
6666
}
6767

68+
// TODO: convert this to a function call
6869
export const session = CodeWhispererSession.instance

src/codewhisperer/util/telemetryHelper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ export class TelemetryHelper {
210210
this.sessionDecisions.push(aggregatedEvent)
211211
}
212212

213+
// TODO: use a ternary for this
213214
let acceptedRecommendationContent
214215
if (acceptIndex != -1 && recommendations[acceptIndex] != undefined) {
215216
acceptedRecommendationContent = recommendations[acceptIndex].content

0 commit comments

Comments
 (0)