Skip to content

Commit 8f28c80

Browse files
committed
chore: Cleanup unused comments
1 parent 2327642 commit 8f28c80

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

packages/core/src/integrations/inboundfilters.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ function _isIgnoredTransaction(event: Event, ignoreTransactions?: Array<string |
131131
}
132132

133133
function _isDeniedUrl(event: Event, denyUrls?: Array<string | RegExp>): boolean {
134-
// TODO: Use Glob instead?
135134
if (!denyUrls || !denyUrls.length) {
136135
return false;
137136
}
@@ -140,7 +139,6 @@ function _isDeniedUrl(event: Event, denyUrls?: Array<string | RegExp>): boolean
140139
}
141140

142141
function _isAllowedUrl(event: Event, allowUrls?: Array<string | RegExp>): boolean {
143-
// TODO: Use Glob instead?
144142
if (!allowUrls || !allowUrls.length) {
145143
return true;
146144
}

packages/core/src/utils-hoist/time.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ interface Performance {
1919

2020
/**
2121
* Returns a timestamp in seconds since the UNIX epoch using the Date API.
22-
*
23-
* TODO(v8): Return type should be rounded.
2422
*/
2523
export function dateTimestampInSeconds(): number {
2624
return Date.now() / ONE_SECOND_IN_MS;

packages/opentelemetry/src/utils/contextData.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ export function setContextOnScope(scope: Scope, context: Context): void {
3232

3333
/**
3434
* Get the context related to a scope.
35-
* TODO v8: Use this for the `trace` functions.
36-
* */
35+
*/
3736
export function getContextFromScope(scope: Scope): Context | undefined {
3837
return (scope as { [SCOPE_CONTEXT_FIELD]?: Context })[SCOPE_CONTEXT_FIELD];
3938
}

0 commit comments

Comments
 (0)