Skip to content

Odd error message when an URL parameter is passed multiple times #3055

Open
@sigma67

Description

@sigma67

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!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working.feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions