Skip to content
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

Bugfixes #14

Merged
merged 2 commits into from
Jun 22, 2022
Merged

Bugfixes #14

merged 2 commits into from
Jun 22, 2022

Conversation

eliatcodecov
Copy link
Contributor

Fixes a bug with the code parameter

@codecov
Copy link

codecov bot commented Jun 22, 2022

Codecov Report

Merging #14 (9c3fb85) into main (0385959) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #14   +/-   ##
=======================================
  Coverage   12.08%   12.08%           
=======================================
  Files           1        1           
  Lines         149      149           
  Branches       20       20           
=======================================
  Hits           18       18           
  Misses        114      114           
  Partials       17       17           
Flag Coverage Δ
unittests 12.08% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0385959...9c3fb85. Read the comment docs.

@@ -19,12 +19,13 @@ class CodeCovOpenTelemetry {
const sampleRate = config.sampleRate;
const untrackedExportRate = config.untrackedExportRate;
const versionIdentifier = config.versionIdentifier || null;
if (needsVersionCreation && versionIdentifier && environment) {
if (needsVersionCreation && versionIdentifier && environment && code) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably should return an error or failure case if this isn't true?

@thomasrockhu-codecov thomasrockhu-codecov merged commit 9aac5cc into main Jun 22, 2022
@thomasrockhu-codecov thomasrockhu-codecov deleted the bugfixes branch June 22, 2022 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants