-
Notifications
You must be signed in to change notification settings - Fork 1k
fix(config): do not set propagators by default #6234
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -70,7 +70,7 @@ export function parsePairKeyValue( | |
| const rawKey = keyPairPart.substring(0, separatorIndex).trim(); | ||
| const rawValue = keyPairPart.substring(separatorIndex + 1).trim(); | ||
|
|
||
| if (!rawKey || !rawValue) return; | ||
| if (!rawKey) return; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you explain the rationale behind this change and the one below? they don't seem related to your PR topic
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can see these changes are from your other PR, so please remove them from here |
||
| let key: string; | ||
| let value: string; | ||
| try { | ||
|
|
@@ -105,7 +105,7 @@ export function parseKeyPairsIntoRecord( | |
| value.split(BAGGAGE_ITEMS_SEPARATOR).forEach(entry => { | ||
| const keyPair = parsePairKeyValue(entry); | ||
|
|
||
| if (keyPair !== undefined && keyPair.value.length > 0) { | ||
| if (keyPair !== undefined && keyPair.value !== undefined) { | ||
| result[keyPair.key] = keyPair.value; | ||
| } | ||
| }); | ||
|
|
||
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.
this file focus on testing functions from the utils file, which is not the case for this test, so you can remove from here and update the ConfigFactory.test.js file accordingly