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

accept as strings array errors #72

Open
o-az opened this issue Feb 23, 2024 · 1 comment
Open

accept as strings array errors #72

o-az opened this issue Feb 23, 2024 · 1 comment

Comments

@o-az
Copy link

o-az commented Feb 23, 2024

# accept = ["200..=204", "429"]
# accept = "200..=204, 429"
# accept = ["200", "429"]
# accept = "200, 429"
accept = ["200", "429"]

works:

accept = [200, 429, 307]

error:

accept = ["200", "429", "307"]

CleanShot 2024-02-22 at 19 53 34

@mre
Copy link
Member

mre commented Feb 23, 2024

Works for me. Are you on the latest version?

❯ lychee -V
lychee 0.14.3
❯ cat lychee.toml
accept = ["200", "429", "307"]
❯ echo "https://wikipedia.org" | lychee --config lychee.toml -
🔍 1 Total (in 0s) ✅ 1 OK 🚫 0 Errors

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

No branches or pull requests

2 participants