mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-15 04:32:13 +00:00
feat: remove uneeded logs
This commit is contained in:
parent
dc413736e8
commit
4a3ba43dae
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ const jsonParse = (filePath: string) => {
|
|||
const processRazor1911 = (filePath: string): UnlockedAchievement[] => {
|
||||
try {
|
||||
const fileContent = readFileSync(filePath, "utf-8");
|
||||
achievementsLogger.log("processing file", filePath, fileContent);
|
||||
|
||||
const lines =
|
||||
fileContent.charCodeAt(0) === 0xfeff
|
||||
? fileContent.slice(1).split(/[\r\n]+/)
|
||||
|
@ -141,7 +141,7 @@ const processRazor1911 = (filePath: string): UnlockedAchievement[] => {
|
|||
});
|
||||
}
|
||||
}
|
||||
achievementsLogger.log("processing file", achievements);
|
||||
|
||||
return achievements;
|
||||
} catch (err) {
|
||||
achievementsLogger.error(`Error processing ${filePath}`, err);
|
||||
|
|
Loading…
Reference in a new issue