-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
chore: Cleanup unused comments #14864
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -182,8 +182,6 @@ async function captureErrorAndGetEnvelopeTraceHeader(page: Page): Promise<Partia | |||
|
|||
const [, errorEnvelopeTraceHeader] = (await errorEventPromise)[0]; | |||
|
|||
// @ts-expect-error - EventEnvelopeHeaders type in (types/envelope.ts) suggests that trace_id is optional, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
??? not sure why but this started failing for me locally...?
@@ -131,7 +131,6 @@ function _isIgnoredTransaction(event: Event, ignoreTransactions?: Array<string | | |||
} | |||
|
|||
function _isDeniedUrl(event: Event, denyUrls?: Array<string | RegExp>): boolean { | |||
// TODO: Use Glob instead? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is not relevant anymore?
@@ -19,8 +19,6 @@ interface Performance { | |||
|
|||
/** | |||
* Returns a timestamp in seconds since the UNIX epoch using the Date API. | |||
* | |||
* TODO(v8): Return type should be rounded. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO this would break quite some things?
@@ -32,8 +32,7 @@ export function setContextOnScope(scope: Scope, context: Context): void { | |||
|
|||
/** | |||
* Get the context related to a scope. | |||
* TODO v8: Use this for the `trace` functions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already done!
2df9dbf
to
acddf1f
Compare
acddf1f
to
a4a4b9e
Compare
❌ 1 Tests Failed:
View the top 1 failed tests by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
Cleaning up some small comments.