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

refactor(ulid): remove len argument from encodeTime() and encodeRandom() #5054

Merged
merged 3 commits into from
Jun 17, 2024

Conversation

iuioiua
Copy link
Collaborator

@iuioiua iuioiua commented Jun 16, 2024

There's no reason why this value shouldn't be hardcoded. Also, includes a small cleanup of the functions.

@iuioiua iuioiua requested a review from kt3k as a code owner June 16, 2024 21:31
@github-actions github-actions bot added the ulid label Jun 16, 2024
Copy link

codecov bot commented Jun 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.17%. Comparing base (d35f8a3) to head (bc113e9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5054      +/-   ##
==========================================
- Coverage   92.17%   92.17%   -0.01%     
==========================================
  Files         487      487              
  Lines       38800    38799       -1     
  Branches     5435     5435              
==========================================
- Hits        35764    35763       -1     
  Misses       2981     2981              
  Partials       55       55              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@iuioiua iuioiua changed the title refactor(ulid): remove len argument from encodeTime() refactor(ulid): remove len argument from encodeTime() and encodeRandom() Jun 16, 2024
Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

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

Good catch! LGTM

@iuioiua iuioiua merged commit f86c10a into main Jun 17, 2024
12 checks passed
@iuioiua iuioiua deleted the ulid-cleanup-encodeTime branch June 17, 2024 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants