anuraghazra / anuraghazra/github-readme-stats

Odd error message when an URL parameter is passed multiple times

Aperta
#3,055 4 commenti 0 reazioni 1 assegnatario Rivendicata da @qwerty541 Vedi su GitHub
bug feature
Lingua principale
JavaScript
Stelle
79.8k
Fork
37.7k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.