anuraghazra / anuraghazra/github-readme-stats

Odd error message when an URL parameter is passed multiple times

Đang mở
#3,055 4 bình luận 0 reaction 1 người được giao Được @qwerty541 nhận Xem trên GitHub
bug feature
Ngôn ngữ chính
JavaScript
Star
79.8k
Fork
37.7k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Describe the bug

When creating my own deployment, by mistake I passed an URL parameter twice. This can happen easily due to the number of configuration parameters.

In this example, I passed `hide` twice to `top-langs`.

I was greeted with the error message `str.split is not a function`.

### Expected behavior

github-readme-stats should perform basic validation and provide a decent error message. This would also prevent unnecessary issues created on GitHub.

### Screenshots / Live demo link

_No response_

### Additional context

Thanks for creating this great project!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.