Closed theidexisted closed 2 years ago
I have checked the cached database file and see that the code template stored is wrong in the database.
So maybe:
Can you try run this command leetcode data -u
? And re-run leetcode e 122
Can you try run this command
leetcode data -u
? And re-runleetcode e 122
I have tried but still, get the same result. Thanks!
Remove the cache file and re-generate the cache is ok? As I can not reproduce this problem.
Remove the cache file and re-generate the cache is ok? As I can not reproduce this problem.
Maybe you are using the dev branch(Not the same one as I used:0.3.11)?
I use the master branch and build target. Indeed it is not the github release version.
To reproduce:
We get the source file name: ~/.leetcode/code/122.best-time-to-buy-and-sell-stock-ii.cpp
But with wrong content:
Find with version: leetcode-cli 0.3.11