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

fix: return empty arrays when get 0 arguments #25

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Conversation

ALPAC-4
Copy link
Contributor

@ALPAC-4 ALPAC-4 commented Dec 4, 2023

Problem

  • return [''], [''] when give empty arguments

Solve

  • if arguments's length is 0 return [], []

@ALPAC-4 ALPAC-4 requested a review from a team as a code owner December 4, 2023 05:38
Copy link

codecov bot commented Dec 4, 2023

Codecov Report

Merging #25 (778ed1d) into main (c82131d) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #25   +/-   ##
=======================================
  Coverage   44.45%   44.45%           
=======================================
  Files         164      164           
  Lines       16055    16055           
=======================================
  Hits         7138     7138           
  Misses       8142     8142           
  Partials      775      775           

Copy link
Contributor

@beer-1 beer-1 left a comment

Choose a reason for hiding this comment

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

LGTM

@beer-1 beer-1 merged commit 4888e13 into main Dec 5, 2023
7 checks passed
@beer-1 beer-1 deleted the fix/empty-args branch December 5, 2023 02:44
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