dragfire / leetup

Command line tool to solve Leetcode problems. Leet it up!!
MIT License
111 stars 16 forks source link

leetup test failure #92

Closed chenrui333 closed 7 months ago

chenrui333 commented 7 months ago

👋 while upgrading rust to 1.77.0, I noticed that leetup test is failing (also see the test failure in the latest 1.2.5 release build as well)

$ /opt/homebrew/Cellar/leetup/1.2.4/bin/leetup list
Error: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })

Did leetcode change the behavior requiring login to show the problem list? (the error msg is not user friendly)

dragfire commented 7 months ago
Screenshot 2024-03-27 at 8 57 30 AM

Hey @chenrui333 yup, confirmed 😕

chenrui333 commented 7 months ago

I see, would that make the formula useless a bit? (maybe add login check before doing the problem listing??)

dragfire commented 7 months ago

@chenrui333 added the check.

chenrui333 commented 7 months ago

Thanks @dragfire! 🍻