In SKARA-2063, I tried to let WebrevStorage to use HostedRepositoryPool, but I made a mistake. When the bot is trying to create a local clone, it will try to create jsonLocalStorage and htmlLocalStorage in the same directory. And previously, we will only create jsonLocalStorage when generateJson is true and create htmlLocalStorage when generateHtml is true. Now, we will create both clone when webrevGenerator.generate is called so it's revealed the problem.
To solve this problem, I think the bot should create jsonLocalStorage and htmlLocalStorage in separate directories and the bot should only create the local clone when it's necessary.
To solve this problem, I think the bot should create jsonLocalStorage and htmlLocalStorage in separate directories and the bot should only create the local clone when it's necessary.