Sort by Average Rating and Big Want to Read fix (#2672)

This commit is contained in:
Joe Milazzo 2024-02-01 06:23:45 -06:00 committed by GitHub
parent 03e7d38482
commit 1fd72ada36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 3552 additions and 105 deletions

View file

@ -14,6 +14,12 @@ function generateChecksum(str, algorithm, encoding) {
const result = {};
// Remove file if it exists
const cacheBustingFilePath = './i18n-cache-busting.json';
if (fs.existsSync(cacheBustingFilePath)) {
fs.unlinkSync(cacheBustingFilePath);
}
glob.sync(`${jsonFilesDir}**/*.json`).forEach(path => {
let tokens = path.split('dist\\browser\\assets\\langs\\');
if (tokens.length === 1) {