anuraghazra / anuraghazra/github-readme-stats

Odd error message when an URL parameter is passed multiple times

Open
#3,055 4 comments 0 reactions 1 assignee Claimed by @qwerty541 View on GitHub
bug feature
Dominant language
JavaScript
Stars
79.8k
Forks
37.7k
PR merge metrics
No merged PRs in 30d

Description

### 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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.